Inline Assembly Problem

Jay Monkman jtm-list-rtems at
Tue Aug 24 19:18:00 UTC 2004

On Tue, Aug 24, 2004 at 06:50:27PM +0100, Carlos Bruno Silva wrote:
> Hash: SHA1
> Hi, I want to do a XOR of my FPU registers,but I have a problem.
> If I don't use the value, it compiles perfectly.
> If I print the value, the Inline Assembly gives many errors at 
> compilation.

Perhaps it's optimizing the inline assembly away if you don't use the
result (xor_reg3).

> {standard input}: Assembler messages:
> {standard input}:1028: Error: Illegal operands
> {standard input}:1029: Error: Architecture mismatch on "fxor".
> {standard input}:1029:  (Requires v9a|v9b; requested architecture is 
> sparclite.)

I'm not familiar with sparc, but those errors claim 'fxor' is not
supported for sparclite. Is that true? Are you compiling for
sparclite? Can you compile for v9a or v9b?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the users mailing list