[Bug 173] New: incorrect size calculation for movq

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 1 11:00:34 PDT 2006


http://d.puremagic.com/bugzilla/show_bug.cgi?id=173

           Summary: incorrect size calculation for movq
           Product: D
           Version: 0.159
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


asm{
        movq MM0, z;
}

PASS:
        cfloat z;
        cfloat[1] z;
        double z;
        double[1] b;
        long z;
        long[1] z;

FAIL: (bad type/size of operands 'movq')
        byte[8] z;
        char[8] z;
        dchar[2] z;
        float[2] z;
        int[2] z;
        short[4] z;
        wchar[4] z;

XPASS: (too small, but accecpted by DMD)
        cfloat[0] z;
        double[0] z;
        long[0] z;

test cases:
http://dstress.kuehne.cn/run/a/asm_movq_02_A.d
http://dstress.kuehne.cn/run/a/asm_movq_02_B.d
http://dstress.kuehne.cn/run/a/asm_movq_02_C.d
http://dstress.kuehne.cn/run/a/asm_movq_02_D.d
http://dstress.kuehne.cn/run/a/asm_movq_02_E.d
http://dstress.kuehne.cn/run/a/asm_movq_02_F.d
http://dstress.kuehne.cn/run/a/asm_movq_02_G.d
http://dstress.kuehne.cn/run/a/asm_movq_02_H.d
http://dstress.kuehne.cn/run/a/asm_movq_02_I.d
http://dstress.kuehne.cn/run/a/asm_movq_02_J.d
http://dstress.kuehne.cn/run/a/asm_movq_02_K.d
http://dstress.kuehne.cn/run/a/asm_movq_02_L.d
http://dstress.kuehne.cn/run/a/asm_movq_02_M.d
http://dstress.kuehne.cn/run/a/asm_movq_02_N.d
http://dstress.kuehne.cn/run/a/asm_movq_02_O.d
http://dstress.kuehne.cn/run/a/asm_movq_02_P.d
http://dstress.kuehne.cn/nocompile/a/asm_movq_02_Q.d
http://dstress.kuehne.cn/nocompile/a/asm_movq_02_R.d
http://dstress.kuehne.cn/nocompile/a/asm_movq_02_S.d
http://dstress.kuehne.cn/nocompile/a/asm_movq_02_T.d
http://dstress.kuehne.cn/nocompile/a/asm_movq_02_U.d


-- 




More information about the Digitalmars-d-bugs mailing list