summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2017-03-31 14:52:03 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2017-03-31 14:53:24 -0700
commit1980abfb7a1f26bf73a796bafa514190bc370a59 (patch)
tree57e61b6b8faf7f8db7696937fae193d4eac8d0da /test
parentc33d95fde9f8ae6252c8ecf4d66c543dfa914d83 (diff)
downloadnasm-1980abfb7a1f26bf73a796bafa514190bc370a59.tar.gz
BR 3392363: clear the operands when making an artificial I_RESB
When we make an artificial RESB instructions (due to isolated prefixes) we need to make sure there isn't any crap left in the operands structure. The easiest way to guarantee that is to force it to zero. Reported-by: Henrik <henrik@gramner.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/br3392363.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/br3392363.asm b/test/br3392363.asm
new file mode 100644
index 00000000..b0bbbbd9
--- /dev/null
+++ b/test/br3392363.asm
@@ -0,0 +1,4 @@
+ vaddps zmm0 {k1}, zmm0, zmm0
+ rep
+ vaddps zmm0 {k1}, zmm0, zmm0
+ rep movsd