On Mon, Aug 19, 2002 at 07:22:14PM +0100, Philip Blundell wrote: > The kernel does have some support for emulating umul in software; see > arch/sparc/kernel/traps.c::do_illegal_instruction. This code seems to > only be enabled for sun4c and sun4, whereas the original poster > mentioned he is using sun4m. Thanks, Phil! SPARC folks: is there such a thing as a 4m that doesn't implement the umul instruction? > It looks like the umul in X is actually coming from a piece of > handwritten assembler in hw/xfree86/loader/SparcMulDiv.S. This could > presumably be replaced by an implementation that doesn't use umul > without too much trouble, but I guess the performance hit for other > users wouldn't be justified. Any suggestions for how run-time checking could be done? -- G. Branden Robinson | You can have my PGP passphrase when Debian GNU/Linux | you pry it from my cold, dead branden@debian.org | brain. http://people.debian.org/~branden/ | -- Adam Thornton
Attachment:
pgpjbcjbx5MWM.pgp
Description: PGP signature