www.digitalmars.com         C & C++   DMDScript  

D.gnu - Bug?

reply Paolo Invernizzi <arathorn NO_SPAMfastwebnet.it> writes:
Someone can confirm that in the GDC trunk the XMM registers are not 
parsed correctly? All worked well under 0.23.

...
asm {
     ...
     mov EAX, 0;
     movups XMM1, [EAX];
     ...
}
...

utils.d:210: error: unknown register name 'xmm1' in 'asm'

Thanks, Paolo.
Aug 21 2007
parent reply Downs <default_357-line yahoo.de> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paolo Invernizzi wrote:
 Someone can confirm that in the GDC trunk the XMM registers are not
 parsed correctly? All worked well under 0.23.
 
 ...
 asm {
     ...
     mov EAX, 0;
     movups XMM1, [EAX];
     ...
 }
 ...
 
 utils.d:210: error: unknown register name 'xmm1' in 'asm'
 
 Thanks, Paolo.

your older gdc build; try setting it manually. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGyyBCpEPJRr05fBERAmZUAKCRx0rwgHr53KbS9qdygILeLGlk9QCgmsx5 nf847hifCtSV1XhwkbfpHpc= =cjz/ -----END PGP SIGNATURE-----
Aug 21 2007
parent Paolo Invernizzi <arathorn NO_SPAMfastwebnet.it> writes:
Downs wrote:

 utils.d:210: error: unknown register name 'xmm1' in 'asm'


 The obligatory question: do you -mmmx? It might have been implied in
 your older gdc build; try setting it manually.

Touché! Thanks! Paolo.
Aug 22 2007