#119 (ADDSD instruction is mis-implemented) – The Yasm Modular Assembler Project

Ticket #119 (closed defect: fixed)

Opened 2 years ago

Last modified 21 months ago

ADDSD instruction is mis-implemented

Reported by: wml@… Owned by:
Priority: P1 Milestone:
Component: Architecture: x86 Version: 0.6.0
Severity: normal Keywords: addsd, x86
Cc:

Description

According to Intel (in the Architecture Manual), the ADDSD instruction takes an XMM register as the destination operand (op 1) and another XMM register or a pointer to a 64-bit memory location in the source operand (op 2). Yasm, right now, will take an XMM register or a 128-bit memory pointer for op 2.

Attachments

Change History

comment:1 Changed 2 years ago by peter

  • status changed from new to closed
  • resolution set to fixed

(In [2015]) Fix #119. Quite a few SSE/SSE2 instructions assumed 128-bit memory sizes instead of the correct 64-bit or 32-bit sizes (e.g. xmm/m64 or similar). It worked fine when no memory size was specified, but it should also work with the correct size modifier.

comment:2 Changed 2 years ago by wml@…

Great! Thanks muchly.

Add/Change #119 (ADDSD instruction is mis-implemented)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.