← Back to index
|
Original Bugzilla link
Bug 839 – incorrect detection of WORD-sized operants: movzx, rcl, rcr, rol, ror
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-01-13T06:10:00Z
Last change time
2015-06-09T05:15:16Z
Keywords
wrong-code
Assigned to
dvdfrdmn
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2007-01-13T06:10:36Z
# ushort s; # asm{ # movzx EAX, s; # } output: 0f b6 45 fa movzx eax,BYTE PTR [...] expected output: 0f b7 45 fc movzx eax,WORD PTR [...] test cases:
http://dstress.kuehne.cn/run/a/asm_movzx_02_C.d
http://dstress.kuehne.cn/run/a/asm_rcl_01_E.d
http://dstress.kuehne.cn/run/a/asm_rcl_01_F.d
http://dstress.kuehne.cn/run/a/asm_rcr_01_E.d
http://dstress.kuehne.cn/run/a/asm_rcr_01_F.d
http://dstress.kuehne.cn/run/a/asm_rol_01_H.d
http://dstress.kuehne.cn/run/a/asm_rol_01_I.d
http://dstress.kuehne.cn/run/a/asm_ror_01_E.d
http://dstress.kuehne.cn/run/a/asm_ror_01_F.d
Comment #1
by dvdfrdmn — 2007-01-27T18:46:34Z
Fixed in svn r76. Targeted for release 0.22.