aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 14:10:33 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 14:21:30 +0300
commit35b3e9074172dfa55ef639ae548ee70e8fb5af72 (patch)
tree6e51643a8a26a88eb8b0196b1054d694c3010c36 /travis/test
parentd06a19375055f25671ff34be8cc4da2e61a22a36 (diff)
downloadnasm-35b3e9074172dfa55ef639ae548ee70e8fb5af72.tar.gz
nasm-35b3e9074172dfa55ef639ae548ee70e8fb5af72.tar.xz
nasm-35b3e9074172dfa55ef639ae548ee70e8fb5af72.zip
travis: add ssesize
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/ssesize.asm14
-rw-r--r--travis/test/ssesize.json12
-rw-r--r--travis/test/ssesize.o.tbin0 -> 928 bytes
3 files changed, 26 insertions, 0 deletions
diff --git a/travis/test/ssesize.asm b/travis/test/ssesize.asm
new file mode 100644
index 00000000..a812cdee
--- /dev/null
+++ b/travis/test/ssesize.asm
@@ -0,0 +1,14 @@
+_start:
+ movd ecx,xmm0
+ movd [foo],xmm0
+ movd dword [foo],xmm0
+
+ movdqa xmm1,xmm0
+ movdqa [foo],xmm0
+ movdqa oword [foo],xmm0
+
+ cmppd xmm2,xmm3,8
+ cmppd xmm2,xmm3,byte 8
+
+ section .bss
+foo: reso 1
diff --git a/travis/test/ssesize.json b/travis/test/ssesize.json
new file mode 100644
index 00000000..4b1adf68
--- /dev/null
+++ b/travis/test/ssesize.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test SSE sizes",
+ "id": "ssesize",
+ "format": "elf64",
+ "source": "ssesize.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "ssesize.o" }
+ ]
+ }
+]
diff --git a/travis/test/ssesize.o.t b/travis/test/ssesize.o.t
new file mode 100644
index 00000000..d259691d
--- /dev/null
+++ b/travis/test/ssesize.o.t
Binary files differ