about summary refs log tree commit diff
path: root/patches/e9patch-check-same_op_2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/e9patch-check-same_op_2.patch')
-rw-r--r--patches/e9patch-check-same_op_2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/e9patch-check-same_op_2.patch b/patches/e9patch-check-same_op_2.patch
new file mode 100644
index 0000000..f87285a
--- /dev/null
+++ b/patches/e9patch-check-same_op_2.patch
@@ -0,0 +1,21 @@
+From d457613c546e1e936440d4a9085f5dfea9a76f0a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= <cnx@loang.net>
+Date: Mon, 18 Nov 2024 15:59:15 +0900
+Subject: [PATCH] Fix same_op_2 test expectation
+
+---
+ test/regtest/same_op_2.exp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/regtest/same_op_2.exp b/test/regtest/same_op_2.exp
+index f99033a..45790b8 100644
+--- a/test/regtest/same_op_2.exp
++++ b/test/regtest/same_op_2.exp
+@@ -12,6 +12,7 @@ shl $0x7, %rdi
+ sar $0x3, %rdi
+ pxor %xmm0, %xmm0
+ cvtsi2ss %rax, %xmm0
++sqrtss %xmm0, %xmm1
+ xor %esi, %esi
+ xor %eax, %eax
+ PASSED