#163 (Encode SSE instructions as AVX) – The Yasm Modular Assembler Project
Modify

Ticket #163 (new enhancement)

Opened 21 months ago

Last modified 21 months ago

Encode SSE instructions as AVX

Reported by: dmitri.veprinsky@… Owned by:
Priority: P1 Milestone:
Component: Core Version: 0.7.1
Severity: normal Keywords:
Cc:

Description

In order to do easy porting from SSE to AVX. What do you think about feature, that generate AVX code by SSE instructions For example

addpd xmm1, xmm2 should be encoded as vaddpd xmm1,xmm1,xmm2 addpd xmm1, <mem> should be encoded as vaddpd xmm1,xmm1,<mem>

Attachments

Change History

comment:1 Changed 21 months ago by peter@…

We support this already. Just add a "v" prefix, so vaddpd xmm1, xmm2 -> vaddpd xmm1, xmm1, xmm2.

I considered adding a "DEFAULT VEX" directive to change addpd to generate the VEX version, but in discussion with the NASM folks this idea was shot down.

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.