NASM - The Netwide Assembler

NASM Forum => Other Discussion => Topic started by: shaynox on February 26, 2015, 04:13:47 PM

Title: Suggestion about emulation of instructions
Post by: shaynox on February 26, 2015, 04:13:47 PM
Hello, what do you think about this idea of give the possibility of NASM, to emulate instruction specify by (-emulate=CPU_FLAG option) .

Example:
Code: [Select]
nasm -emulate=AVX2 -f win64 source.asm

-emulate : flag for precise to NASM to emulate instruction precise by flag after equal sign (for the previous example, AVX2's instruction)

I build this idea, cause i'm unfortunately deprived of the AVX2 instructions (CPU cause), and I would love to update my project by AVX2 right now, before it continue to growing up and begin very hard to update AVX -> AVX2 :/