I think i've found a bug, should / how do i report it.

Jarrett Billingsley kb3ctd2 at yahoo.com
Sun Mar 11 18:02:56 PDT 2007


"Chris Warwick" <sp at m.me.not> wrote in message 
news:et24ga$1ppn$1 at digitalmars.com...
> MMX assembler doesnt like const.
>
> -------------------
> const int foo = 1;
> asm mov EAX,foo;
>
> compiles ok.
>
> ----------------------
> ulong foo = 1;
> asm movd MM0,foo;
>
> compiles ok.
>
> -----------------------
> const ulong foo = 1;
> asm movd MM0,foo;
>
> complains "bad type/size of operands 'movd'"
>
> So simply changing the variable to const, breaks mmx's ability to use it. 
> but the same thing is not true when using normal int registers.

Are you sure that you can move immediates into MMX registers with movd? 
Everything I've found only says that movd moves from reg to MMX or from MMX 
to reg.. 




More information about the Digitalmars-d-learn mailing list