summary refs log tree commit diff stats
path: root/results/classifier/016/assembly-x86/gitlab_semantic_addsubps
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
commitdee4dcba78baf712cab403d47d9db319ab7f95d6 (patch)
tree418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/016/assembly-x86/gitlab_semantic_addsubps
parent4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff)
downloademulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz
emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip
restructure results
Diffstat (limited to 'results/classifier/016/assembly-x86/gitlab_semantic_addsubps')
-rw-r--r--results/classifier/016/assembly-x86/gitlab_semantic_addsubps55
1 files changed, 0 insertions, 55 deletions
diff --git a/results/classifier/016/assembly-x86/gitlab_semantic_addsubps b/results/classifier/016/assembly-x86/gitlab_semantic_addsubps
deleted file mode 100644
index 4aba98a8..00000000
--- a/results/classifier/016/assembly-x86/gitlab_semantic_addsubps
+++ /dev/null
@@ -1,55 +0,0 @@
-x86: 1.000
-assembly: 0.992
-semantic: 0.981
-i386: 0.817
-debug: 0.106
-register: 0.039
-files: 0.031
-user-level: 0.025
-risc-v: 0.019
-virtual: 0.016
-PID: 0.014
-TCG: 0.013
-VMM: 0.010
-performance: 0.010
-kernel: 0.008
-architecture: 0.008
-operating system: 0.007
-alpha: 0.006
-network: 0.006
-device: 0.004
-permissions: 0.004
-boot: 0.004
-hypervisor: 0.003
-socket: 0.003
-peripherals: 0.003
-vnc: 0.002
-graphic: 0.002
-KVM: 0.002
-ppc: 0.001
-mistranslation: 0.001
-arm: 0.000
-
-x86 SSE/SSE2/SSE3 instruction semantic bugs with NaN
-
-Description of problem
-The result of SSE/SSE2/SSE3 instructions with NaN is different from the CPU. From Intel manual Volume 1 Appendix D.4.2.2, they defined the behavior of such instructions with NaN. But I think QEMU did not implement this semantic exactly because the byte result is different.
-
-Steps to reproduce
-
-Compile this code
-
-void main() {
-    asm("mov rax, 0x000000007fffffff; push rax; mov rax, 0x00000000ffffffff; push rax; movdqu XMM1, [rsp];");
-    asm("mov rax, 0x2e711de7aa46af1a; push rax; mov rax, 0x7fffffff7fffffff; push rax; movdqu XMM2, [rsp];");
-    asm("addsubps xmm1, xmm2");
-}
-
-Execute and compare the result with the CPU. This problem happens with other SSE/SSE2/SSE3 instructions specified in the manual, Volume 1 Appendix D.4.2.2.
-
-CPU xmm1[3] = 0xffffffff
-
-QEMU xmm1[3] = 0x7fffffff
-
-Additional information
-This bug is discovered by research conducted by KAIST SoftSec.