aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 14:19:30 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 14:21:34 +0300
commit5d613ce88b4d32a394d788a52533e19a9c40ae94 (patch)
tree4c24412f5db86826f8396f005a429d92b1e9863d /travis/test
parent52f82633d37a2da9bc0631134d93d01d296fa4fc (diff)
downloadnasm-5d613ce88b4d32a394d788a52533e19a9c40ae94.tar.gz
nasm-5d613ce88b4d32a394d788a52533e19a9c40ae94.tar.xz
nasm-5d613ce88b4d32a394d788a52533e19a9c40ae94.zip
travis: add br3392278
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/br3392278.asm21
-rw-r--r--travis/test/br3392278.json12
-rw-r--r--travis/test/br3392278.o.tbin0 -> 1616 bytes
3 files changed, 33 insertions, 0 deletions
diff --git a/travis/test/br3392278.asm b/travis/test/br3392278.asm
new file mode 100644
index 00000000..b8f7ed08
--- /dev/null
+++ b/travis/test/br3392278.asm
@@ -0,0 +1,21 @@
+ bits 64
+
+; Broken per BR 3392278
+ times 4 paddd xmm8, xmm11
+
+; Broken per BR 3392279
+ bswap r12d
+ times 4 bswap r12d
+
+; Forward jump
+ times 128 jmp there
+
+there:
+ nop
+
+; Backwards jump
+ times 128 jmp there
+
+ section .bss
+ times 0x10 resb 0x20
+ resb 1
diff --git a/travis/test/br3392278.json b/travis/test/br3392278.json
new file mode 100644
index 00000000..7bcbc0db
--- /dev/null
+++ b/travis/test/br3392278.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test br3392278 and br3392279",
+ "id": "br3392278",
+ "format": "elf64",
+ "source": "br3392278.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "br3392278.o" }
+ ]
+ }
+]
diff --git a/travis/test/br3392278.o.t b/travis/test/br3392278.o.t
new file mode 100644
index 00000000..9fe819f7
--- /dev/null
+++ b/travis/test/br3392278.o.t
Binary files differ