From 47b0c2d428d227f686b74389cd02cb484f2c4d30 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 17 Jul 2008 14:13:53 -0700 Subject: [PATCH] smartalign: 16-bit P6 NOPs Add 16-bit P6 NOPs --- macros/smartalign.mac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/macros/smartalign.mac b/macros/smartalign.mac index 1a631edc..921ced81 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