summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-28 01:25:06 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-28 01:25:06 +0000
commit3ab8de6a14be6d82b90499718a37d9cf4b609231 (patch)
tree4835589f93a59de3a6f80e12c7332a8b707e9fa6 /nasm.c
parent3ba467795a364e7a95ba04a99ffc6ed2c2d2959d (diff)
downloadnasm-3ab8de6a14be6d82b90499718a37d9cf4b609231.tar.gz
nasm-3ab8de6a14be6d82b90499718a37d9cf4b609231.tar.bz2
nasm-3ab8de6a14be6d82b90499718a37d9cf4b609231.zip
Add the JMPE instruction.
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nasm.c b/nasm.c
index 7666d0d..47cad15 100644
--- a/nasm.c
+++ b/nasm.c
@@ -1533,11 +1533,17 @@ static unsigned long get_cpu (char *value)
!nasm_stricmp(value, "pentium") ) return IF_PENT;
if (!strcmp(value, "686") ||
!nasm_stricmp(value, "ppro") ||
+ !nasm_stricmp(value, "pentiumpro") ||
!nasm_stricmp(value, "p2") ) return IF_P6;
if (!nasm_stricmp(value, "p3") ||
!nasm_stricmp(value, "katmai") ) return IF_KATMAI;
if (!nasm_stricmp(value, "p4") || /* is this right? -- jrc */
!nasm_stricmp(value, "willamette") ) return IF_WILLAMETTE;
+ if (!nasm_stricmp(value, "ia64") ||
+ !nasm_stricmp(value, "ia-64") ||
+ !nasm_stricmp(value, "itanium") ||
+ !nasm_stricmp(value, "itanic") ||
+ !nasm_stricmp(value, "merced") ) return IF_IA64;
report_error (pass0<2 ? ERR_NONFATAL : ERR_FATAL, "unknown 'cpu' type");