sse operand sizes in asm output file are incorrect
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
when i try to compile the program attached to this bugreport the compiler generates following code(i'am showing only part of that):
...
; [8] movups xmm0, [a]
movups xmm0,[_A]
; [9] addps xmm0,[b]
addps xmm0,[_B]
; [10] movups [c], xmm0
movups dword [_C],xmm0
...
movups dword [_C], xmm0 is incorrect because the sse operand is not 4byte but 16byte width.
the instructions above are accessed right.
i've compiled this with intel asmmode. under direct asmmode it works of course but i cannot overload opertors.
Additional information:
Reporter: bartek
EMail: bbartek at gmx dot net
Mantis conversion info:
- Mantis ID: 5010
- OS: GO32V2
- Version: 1.0.10
- Fixed in version: 1.9.5