aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-10-11 15:33:22 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-10-11 15:33:22 +0300
commit5f753b9b0d141b43cda2740ec69b61ab7c238f77 (patch)
tree5275964fe35a4c64d19c9fd37228323b2ece274d
parent7eb3b34ece6aaaf09c3dc8cfd4b8ec19ed1529cb (diff)
downloadnasm-5f753b9b0d141b43cda2740ec69b61ab7c238f77.tar.gz
nasm-5f753b9b0d141b43cda2740ec69b61ab7c238f77.tar.xz
nasm-5f753b9b0d141b43cda2740ec69b61ab7c238f77.zip
travis: add movhpd
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--travis/test/movhpd.asm15
-rw-r--r--travis/test/movhpd.bin.t1
-rw-r--r--travis/test/movhpd.json12
3 files changed, 28 insertions, 0 deletions
diff --git a/travis/test/movhpd.asm b/travis/test/movhpd.asm
new file mode 100644
index 00000000..af1e5740
--- /dev/null
+++ b/travis/test/movhpd.asm
@@ -0,0 +1,15 @@
+ bits 64
+ movhpd xmm0,[rdi+2]
+ movhpd xmm0,qword [rdi+2]
+
+ movhpd [rsi+3],xmm1
+ movhpd qword [rsi+3],xmm1
+
+ vmovhpd xmm2,xmm1,[rax+4]
+ vmovhpd xmm2,xmm1,qword [rax+4]
+
+ vmovhpd xmm3,[rax+4]
+ vmovhpd xmm3,qword [rax+4]
+
+ vmovhpd [rcx+5],xmm4
+ vmovhpd qword [rcx+5],xmm4
diff --git a/travis/test/movhpd.bin.t b/travis/test/movhpd.bin.t
new file mode 100644
index 00000000..880d67cb
--- /dev/null
+++ b/travis/test/movhpd.bin.t
@@ -0,0 +1 @@
+fGfGfNfNPPXXaa \ No newline at end of file
diff --git a/travis/test/movhpd.json b/travis/test/movhpd.json
new file mode 100644
index 00000000..d5dca7b6
--- /dev/null
+++ b/travis/test/movhpd.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test movhpd instruction",
+ "id": "movhpd",
+ "format": "bin",
+ "source": "movhpd.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "movhpd.bin" }
+ ]
+ }
+]