|
From: <sv...@va...> - 2012-06-20 10:21:34
|
sewardj 2012-06-20 11:21:22 +0100 (Wed, 20 Jun 2012)
New Revision: 12656
Log:
Update.
Modified files:
trunk/none/tests/amd64/avx-1.c
Modified: trunk/none/tests/amd64/avx-1.c (+31 -0)
===================================================================
--- trunk/none/tests/amd64/avx-1.c 2012-06-19 19:30:23 +01:00 (rev 12655)
+++ trunk/none/tests/amd64/avx-1.c 2012-06-20 11:21:22 +01:00 (rev 12656)
@@ -383,6 +383,9 @@
GEN_test_Ronly(VPSRLD_0x05_128,
"vpsrld $0x5, %%xmm9, %%xmm7")
+GEN_test_Ronly(VPSRAD_0x05_128,
+ "vpsrad $0x5, %%xmm9, %%xmm7")
+
GEN_test_RandM(VPSUBUSB_128,
"vpsubusb %%xmm9, %%xmm8, %%xmm7",
"vpsubusb (%%rax), %%xmm8, %%xmm7")
@@ -412,6 +415,9 @@
GEN_test_Ronly(VPSRLW_0x05_128,
"vpsrlw $0x5, %%xmm9, %%xmm7")
+GEN_test_Ronly(VPSLLW_0x05_128,
+ "vpsllw $0x5, %%xmm9, %%xmm7")
+
GEN_test_RandM(VPADDW_128,
"vpaddw %%xmm6, %%xmm8, %%xmm7",
"vpaddw (%%rax), %%xmm8, %%xmm7")
@@ -1097,6 +1103,8 @@
GEN_test_Ronly(VMOVSD_REG_XMM, "vmovsd %%xmm9, %%xmm7, %%xmm8")
+GEN_test_Ronly(VMOVSS_REG_XMM, "vmovss %%xmm9, %%xmm7, %%xmm8")
+
GEN_test_Monly(VMOVLPD_128_M64_XMM_XMM, "vmovlpd (%%rax), %%xmm8, %%xmm7")
GEN_test_Monly(VMOVLPD_128_XMM_M64, "vmovlpd %%xmm7, (%%rax)")
@@ -1268,7 +1276,23 @@
"vcvtpd2dqy %%ymm9, %%xmm6",
"vcvtpd2dqy (%%rax), %%xmm7")
+GEN_test_RandM(VMOVSLDUP_128,
+ "vmovsldup %%xmm9, %%xmm6",
+ "vmovsldup (%%rax), %%xmm7")
+GEN_test_RandM(VMOVSLDUP_256,
+ "vmovsldup %%ymm9, %%ymm6",
+ "vmovsldup (%%rax), %%ymm7")
+
+GEN_test_RandM(VMOVSHDUP_128,
+ "vmovshdup %%xmm9, %%xmm6",
+ "vmovshdup (%%rax), %%xmm7")
+
+GEN_test_RandM(VMOVSHDUP_256,
+ "vmovshdup %%ymm9, %%ymm6",
+ "vmovshdup (%%rax), %%ymm7")
+
+
/* Comment duplicated above, for convenient reference:
Allowed operands in test insns:
Reg form: %ymm6, %ymm7, %ymm8, %ymm9 and %r14.
@@ -1346,6 +1370,7 @@
test_VPACKSSDW_128();
test_VPADDW_128();
test_VPSRLW_0x05_128();
+ test_VPSLLW_0x05_128();
test_VPUNPCKLQDQ_128();
test_VPINSRD_128();
test_VMOVD_XMM_to_MEM32();
@@ -1355,6 +1380,7 @@
test_VPSUBUSB_128();
test_VPSLLD_0x05_128();
test_VPSRLD_0x05_128();
+ test_VPSRAD_0x05_128();
test_VPUNPCKLWD_128();
test_VPUNPCKHWD_128();
test_VPADDUSB_128();
@@ -1539,6 +1565,7 @@
test_VPALIGNR_128_2of3();
test_VPALIGNR_128_3of3();
test_VMOVSD_REG_XMM();
+ test_VMOVSS_REG_XMM();
test_VMOVLPD_128_M64_XMM_XMM();
test_VMOVLPD_128_XMM_M64();
test_VSHUFPD_128_1of2();
@@ -1588,5 +1615,9 @@
test_VCVTTPD2DQ_256();
test_VCVTPD2DQ_128();
test_VCVTPD2DQ_256();
+ test_VMOVSLDUP_128();
+ test_VMOVSLDUP_256();
+ test_VMOVSHDUP_128();
+ test_VMOVSHDUP_256();
return 0;
}
|