[Issue 2942] asm fadd; accepted, but generates code for faddp.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 8 12:48:38 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2942





------- Comment #2 from clugdbug at yahoo.com.au  2009-05-08 14:48 -------
It gets worse. DMD also copies some hideous DEBUG bugs. This garbage compiles:

void main() {
 double x;
  asm {
  fld x, ST(6);
 }
}

Even though there's no such instruction, you can't load into ST(6).
This wasn't included in my patch.


-- 



More information about the Digitalmars-d-bugs mailing list