aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" }
+ ]
+ }
+]