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

Ticket #163 (new enhancement)

Opened 2 months ago

Last modified 2 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 2 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.

Add/Change #163 (Encode SSE instructions as AVX)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.