summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorBen Rudiak-Gould <benrudiak@gmail.com>2013-03-10 21:46:12 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2013-03-10 21:46:12 +0400
commit94ba02fa16593ac1c6f0a99edce551b79f66e03b (patch)
treed0949bbb7cf5dbe577e64ee4a377b76682b0f2d5 /assemble.c
parent6e87893f068f59929cb2d6dcc50ac1a1da2f602c (diff)
downloadnasm-94ba02fa16593ac1c6f0a99edce551b79f66e03b.tar.gz
nasm-94ba02fa16593ac1c6f0a99edce551b79f66e03b.tar.bz2
nasm-94ba02fa16593ac1c6f0a99edce551b79f66e03b.zip
Make F2 and F3 SSE prefixes override 66
According to XED and experimentation, the 66 is ignored. Signed-off-by: Ben Rudiak-Gould <benrudiak@gmail.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/assemble.c b/assemble.c
index be3caaf..235be13 100644
--- a/assemble.c
+++ b/assemble.c
@@ -126,8 +126,6 @@
* \341 - this instruction needs a WAIT "prefix"
* \360 - no SSE prefix (== \364\331)
* \361 - 66 SSE prefix (== \366\331)
- * \362 - F2 SSE prefix (== \364\332)
- * \363 - F3 SSE prefix (== \364\333)
* \364 - operand-size prefix (0x66) not permitted
* \365 - address-size prefix (0x67) not permitted
* \366 - operand-size prefix (0x66) used as opcode extension
@@ -1049,7 +1047,7 @@ static int64_t calcsize(int32_t segment, int64_t offset, int bits,
case 0360:
break;
- case3(0361):
+ case 0361:
length++;
break;
@@ -1603,13 +1601,6 @@ static void gencode(int32_t segment, int64_t offset, int bits,
offset += 1;
break;
- case 0362:
- case 0363:
- bytes[0] = c - 0362 + 0xf2;
- out(offset, segment, bytes, OUT_RAWDATA, 1, NO_SEG, NO_SEG);
- offset += 1;
- break;
-
case 0364:
case 0365:
break;