From 2786f85aed1ee3cb8f73f84ca78c793c645e9237 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 4 Nov 2018 01:29:34 +0300 Subject: [PATCH] test: nasm-t -- Add movd test Signed-off-by: Cyrill Gorcunov --- travis/test/movd.asm | 11 +++++++++++ travis/test/movd.bin.t | Bin 0 -> 28 bytes travis/test/movd.json | 12 ++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 travis/test/movd.asm create mode 100644 travis/test/movd.bin.t create mode 100644 travis/test/movd.json diff --git a/travis/test/movd.asm b/travis/test/movd.asm new file mode 100644 index 00000000..c304e6a5 --- /dev/null +++ b/travis/test/movd.asm @@ -0,0 +1,11 @@ +[BITS 32] + movd mm0,eax + movd mm0,[eax] + movd [eax],mm0 + movd eax,mm0 + + movd xmm0,eax + movd xmm0,[eax] + + movd [eax],xmm0 + movd eax,xmm0 diff --git a/travis/test/movd.bin.t b/travis/test/movd.bin.t new file mode 100644 index 0000000000000000000000000000000000000000..efcf054bcb0d4603e50ad45e76923d7819725228 GIT binary patch literal 28 ccwXbrJHVgEz+VSM2h#ZSK$sy7$OYm90C~m;!2kdN literal 0 HcwPel00001 diff --git a/travis/test/movd.json b/travis/test/movd.json new file mode 100644 index 00000000..aebe26c2 --- /dev/null +++ b/travis/test/movd.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test movd instruction", + "id": "movd", + "format": "bin", + "source": "movd.asm", + "option": "-Ox", + "target": [ + { "output": "movd.bin" } + ] + } +] -- 2.11.4.GIT