summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-07-17 14:13:53 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-07-17 14:13:53 -0700
commit47b0c2d428d227f686b74389cd02cb484f2c4d30 (patch)
treec1c9b86b8809ba02d8e741998bf3e051612fa73d /macros
parentf5975eead144ad9ec7a8c6a67fe18881f4dfcfaf (diff)
downloadnasm-47b0c2d428d227f686b74389cd02cb484f2c4d30.tar.gz
nasm-47b0c2d428d227f686b74389cd02cb484f2c4d30.tar.bz2
nasm-47b0c2d428d227f686b74389cd02cb484f2c4d30.zip
smartalign: 16-bit P6 NOPs
Add 16-bit P6 NOPs
Diffstat (limited to 'macros')
-rw-r--r--macros/smartalign.mac12
1 files changed, 6 insertions, 6 deletions
diff --git a/macros/smartalign.mac b/macros/smartalign.mac
index 1a631ed..921ced8 100644
--- a/macros/smartalign.mac
+++ b/macros/smartalign.mac
@@ -120,12 +120,12 @@ USE: smartalign
%elifidni %1,p6
%define __ALIGN_16BIT_1B__ 0x90
%define __ALIGN_16BIT_2B__ 0x66,0x90
- %define __ALIGN_16BIT_3B__ 0x66,0x66,0x90
- %define __ALIGN_16BIT_4B__ 0x66,0x66,0x66,0x90
- %define __ALIGN_16BIT_5B__ 0x66,0x66,0x90,0x66,0x90
- %define __ALIGN_16BIT_6B__ 0x66,0x66,0x90,0x66,0x66,0x90
- %define __ALIGN_16BIT_7B__ 0x66,0x66,0x66,0x90,0x66,0x66,0x90
- %define __ALIGN_16BIT_8B__ 0x66,0x66,0x66,0x90,0x66,0x66,0x66,0x90
+ %define __ALIGN_16BIT_3B__ 0x0f,0x1f,0x00
+ %define __ALIGN_16BIT_4B__ 0x0f,0x1f,0x40,0x00
+ %define __ALIGN_16BIT_5B__ 0x90,0x0f,0x1f,0x40,0x00
+ %define __ALIGN_16BIT_6B__ 0x0f,0x1f,0x00,0x0f,0x1f,0x00
+ %define __ALIGN_16BIT_7B__ 0x0f,0x1f,0x00,0x0f,0x1f,0x40,0x00
+ %define __ALIGN_16BIT_8B__ 0x0f,0x1f,0x40,0x00,0x0f,0x1f,0x40,0x00
%define __ALIGN_32BIT_1B__ 0x90
%define __ALIGN_32BIT_2B__ 0x66,0x90