]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update.
authorJulian Seward <jseward@acm.org>
Sat, 2 Jun 2012 11:55:52 +0000 (11:55 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 2 Jun 2012 11:55:52 +0000 (11:55 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12601

none/tests/amd64/avx-1.c

index c7858c87ed94b813907715b5e07a1f4d84ab5104..49385f7b210dd44d3a92001f5da497921d71e27d 100644 (file)
@@ -1,12 +1,6 @@
 
 /* The following tests appear not to be accepted by the assembler.
       VCVTPD2PS_128 (memory form)
-
-   The following tests currently fail and are disabled:
-      VCMPSD_128_0xD
-      VCMPSS_128_0xD
-      VEXTRACTF128_0x0
-      VEXTRACTF128_0x1
 */
 
 #include <stdio.h>
@@ -466,10 +460,18 @@ GEN_test_RandM(VMOVAPS_GtoE_128,
                "vmovaps %%xmm9,  %%xmm6",
                "vmovaps %%xmm7, (%%rax)")
 
+GEN_test_RandM(VMOVAPS_GtoE_256,
+               "vmovaps %%ymm9,  %%ymm6",
+               "vmovaps %%ymm7, (%%rax)")
+
 GEN_test_RandM(VMOVAPD_GtoE_128,
                "vmovapd %%xmm9,  %%xmm6",
                "vmovapd %%xmm7, (%%rax)")
 
+GEN_test_RandM(VMOVAPD_GtoE_256,
+               "vmovapd %%ymm9,  %%ymm6",
+               "vmovapd %%ymm7, (%%rax)")
+
 GEN_test_RandM(VMOVDQU_EtoG_128,
                "vmovdqu %%xmm6,  %%xmm8",
                "vmovdqu (%%rax), %%xmm9")
@@ -645,6 +647,23 @@ GEN_test_RandM(VUCOMISS_128,
    "vucomiss %%xmm6,  %%xmm8; pushfq; popq %%r14; andq $0x8D5, %%r14",
    "vucomiss (%%rax), %%xmm8; pushfq; popq %%r14; andq $0x8D5, %%r14")
 
+GEN_test_RandM(VPINSRQ_128,
+               "vpinsrq $0, %%r14,   %%xmm8, %%xmm7",
+               "vpinsrq $1, (%%rax), %%xmm8, %%xmm7")
+
+GEN_test_RandM(VPADDQ_128,
+               "vpaddq %%xmm6,  %%xmm8, %%xmm7",
+               "vpaddq (%%rax), %%xmm8, %%xmm7")
+
+GEN_test_RandM(VPSUBQ_128,
+               "vpsubq %%xmm6,  %%xmm8, %%xmm7",
+               "vpsubq (%%rax), %%xmm8, %%xmm7")
+
+GEN_test_RandM(VPSUBW_128,
+               "vpsubw %%xmm6,  %%xmm8, %%xmm7",
+               "vpsubw (%%rax), %%xmm8, %%xmm7")
+
+
 /* Comment duplicated above, for convenient reference:
    Allowed operands in test insns:
      Reg form:  %ymm6,  %ymm7, %ymm8, %ymm9 and %r14.
@@ -654,6 +673,10 @@ GEN_test_RandM(VUCOMISS_128,
 
 int main ( void )
 {
+   test_VPSUBW_128();
+   test_VPSUBQ_128();
+   test_VPADDQ_128();
+   test_VPINSRQ_128();
    test_VUCOMISS_128();
    test_VUCOMISD_128();
    test_VCVTPS2PD_128();
@@ -700,7 +723,9 @@ int main ( void )
    test_VMOVDQA_EtoG_128();
    test_VMOVDQU_EtoG_128();
    test_VMOVAPD_GtoE_128();
+   test_VMOVAPD_GtoE_256();
    test_VMOVAPS_GtoE_128();
+   test_VMOVAPS_GtoE_256();
    test_VMOVAPS_EtoG_128();
    test_VMOVAPD_EtoG_256();
    test_VMOVAPD_EtoG_128();