[nasm:master] travis: add insertps
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Sun Oct 11 06:00:08 PDT 2020
Commit-ID: 407fe40f668f94f1ba676934b852b801db2c93c7
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=407fe40f668f94f1ba676934b852b801db2c93c7
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Sun, 11 Oct 2020 15:57:08 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Sun, 11 Oct 2020 15:57:08 +0300
travis: add insertps
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
travis/test/insertps.asm | 10 ++++++++++
travis/test/insertps.bin.t | Bin 0 -> 48 bytes
travis/test/insertps.json | 12 ++++++++++++
3 files changed, 22 insertions(+)
diff --git a/travis/test/insertps.asm b/travis/test/insertps.asm
new file mode 100644
index 00000000..68bae5bd
--- /dev/null
+++ b/travis/test/insertps.asm
@@ -0,0 +1,10 @@
+ bits 64
+ insertps xmm0,xmm1,16
+ insertps xmm0,dword xmm2,16
+ insertps xmm0,xmm2,byte 16
+ insertps xmm0,dword xmm2,byte 16
+
+ insertps xmm0,[rax],16
+ insertps xmm0,dword [rbx],16
+ insertps xmm0,[rcx],byte 16
+ insertps xmm0,dword [rdx],byte 16
diff --git a/travis/test/insertps.bin.t b/travis/test/insertps.bin.t
new file mode 100644
index 00000000..054af424
Binary files /dev/null and b/travis/test/insertps.bin.t differ
diff --git a/travis/test/insertps.json b/travis/test/insertps.json
new file mode 100644
index 00000000..4da7c987
--- /dev/null
+++ b/travis/test/insertps.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test insertps",
+ "id": "insertps",
+ "format": "bin",
+ "source": "insertps.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "insertps.bin" }
+ ]
+ }
+]
More information about the Nasm-commits
mailing list