summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/instruction/1832422
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/zero-shot-user-mode/instruction/1832422')
-rw-r--r--results/classifier/zero-shot-user-mode/instruction/183242215
1 files changed, 15 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/instruction/1832422 b/results/classifier/zero-shot-user-mode/instruction/1832422
new file mode 100644
index 000000000..16de9858f
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/instruction/1832422
@@ -0,0 +1,15 @@
+instruction: 0.766
+syscall: 0.150
+runtime: 0.084
+
+
+
+SSE CMP ops with 8bit immediate throw sigill with oversized byte
+
+The SSE comparison ops that use an 8bit immediate as a comparison type selector throws a sigill when the immediate is oversized.
+
+Test op that I found this on is here `66 0f c2 c0 d1          cmppd  xmm0,xmm0,0xd1`
+According to the x86-64 documentation only bits [2:0] are used for these ops (and [4:0] for the AVX variant)
+Currently qemu just checks if the value is >=8 and will throw a sigill in that case. It instead needs to mask.
+
+I have a small patch that fixes the issue for the SSE variant.
\ No newline at end of file