about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-11-17 11:24:15 +0100
committerChristian Krinitsin <mail@krinitsin.com>2025-11-17 11:24:15 +0100
commitee4d6a7f028b6007425be03fa43e40552f2ba0fd (patch)
tree8eded70d246d4d946e4cd623d944c44c0d6340d8
parentba5864bd653a995bc72405f0a5e7c389e4052e44 (diff)
downloadfocaccia-ee4d6a7f028b6007425be03fa43e40552f2ba0fd.tar.gz
focaccia-ee4d6a7f028b6007425be03fa43e40552f2ba0fd.zip
Add LAHF and BLSI (2175) reproducer
-rw-r--r--reproducers/issue-1828867.c8
-rw-r--r--reproducers/issue-2175.c9
2 files changed, 17 insertions, 0 deletions
diff --git a/reproducers/issue-1828867.c b/reproducers/issue-1828867.c
new file mode 100644
index 0000000..5531de0
--- /dev/null
+++ b/reproducers/issue-1828867.c
@@ -0,0 +1,8 @@
+int main(int argc, char **argv) {
+    __asm__ (
+        ".intel_syntax noprefix\n"
+        ".byte 0x40, 0x9f\n"
+        ".att_syntax\n"
+    );
+    return 0;
+}
diff --git a/reproducers/issue-2175.c b/reproducers/issue-2175.c
new file mode 100644
index 0000000..aabfd96
--- /dev/null
+++ b/reproducers/issue-2175.c
@@ -0,0 +1,9 @@
+int main() {
+  __asm__ (
+    "movq $0x1, %r8\n"
+    "mov $0xedbf530a, %r9\n"
+    "blsi %r9d, %r8d\n"
+  );
+
+  return 0;
+}