From a3aeed8c44fb15a1c3891aed1382bdcd59f9950e Mon Sep 17 00:00:00 2001 From: Matheus Almeida Date: Wed, 18 Dec 2013 11:06:13 +0000 Subject: [PATCH] [mips][msa] Remove unneeded triple directive in MSA MC tests. No functional changes. llvm-svn: 197559 --- llvm/test/MC/Mips/msa/test_2r.s | 4 ++-- llvm/test/MC/Mips/msa/test_2rf.s | 4 ++-- llvm/test/MC/Mips/msa/test_3r.s | 4 ++-- llvm/test/MC/Mips/msa/test_3rf.s | 4 ++-- llvm/test/MC/Mips/msa/test_bit.s | 4 ++-- llvm/test/MC/Mips/msa/test_cbranch.s | 2 +- llvm/test/MC/Mips/msa/test_ctrlregs.s | 4 ++-- llvm/test/MC/Mips/msa/test_elm.s | 4 ++-- llvm/test/MC/Mips/msa/test_elm_insert.s | 4 ++-- llvm/test/MC/Mips/msa/test_elm_insve.s | 4 ++-- llvm/test/MC/Mips/msa/test_i10.s | 4 ++-- llvm/test/MC/Mips/msa/test_i5.s | 4 ++-- llvm/test/MC/Mips/msa/test_i8.s | 4 ++-- llvm/test/MC/Mips/msa/test_lsa.s | 4 ++-- llvm/test/MC/Mips/msa/test_mi10.s | 4 ++-- llvm/test/MC/Mips/msa/test_vec.s | 4 ++-- 16 files changed, 31 insertions(+), 31 deletions(-) diff --git a/llvm/test/MC/Mips/msa/test_2r.s b/llvm/test/MC/Mips/msa/test_2r.s index 67a2b6f0164e..3364a6d85040 100644 --- a/llvm/test/MC/Mips/msa/test_2r.s +++ b/llvm/test/MC/Mips/msa/test_2r.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: fill.b $w30, $9 # encoding: [0x7b,0x00,0x4f,0x9e] # CHECK: fill.h $w31, $23 # encoding: [0x7b,0x01,0xbf,0xde] diff --git a/llvm/test/MC/Mips/msa/test_2rf.s b/llvm/test/MC/Mips/msa/test_2rf.s index 64025a41e1bf..24a7d94d79ca 100644 --- a/llvm/test/MC/Mips/msa/test_2rf.s +++ b/llvm/test/MC/Mips/msa/test_2rf.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: fclass.w $w26, $w12 # encoding: [0x7b,0x20,0x66,0x9e] # CHECK: fclass.d $w24, $w17 # encoding: [0x7b,0x21,0x8e,0x1e] diff --git a/llvm/test/MC/Mips/msa/test_3r.s b/llvm/test/MC/Mips/msa/test_3r.s index 3047ecb7aa8d..e8b2665120d6 100644 --- a/llvm/test/MC/Mips/msa/test_3r.s +++ b/llvm/test/MC/Mips/msa/test_3r.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: add_a.b $w26, $w9, $w4 # encoding: [0x78,0x04,0x4e,0x90] # CHECK: add_a.h $w23, $w27, $w31 # encoding: [0x78,0x3f,0xdd,0xd0] diff --git a/llvm/test/MC/Mips/msa/test_3rf.s b/llvm/test/MC/Mips/msa/test_3rf.s index f45557ee0ec8..778290a8d823 100644 --- a/llvm/test/MC/Mips/msa/test_3rf.s +++ b/llvm/test/MC/Mips/msa/test_3rf.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: fadd.w $w28, $w19, $w28 # encoding: [0x78,0x1c,0x9f,0x1b] # CHECK: fadd.d $w13, $w2, $w29 # encoding: [0x78,0x3d,0x13,0x5b] diff --git a/llvm/test/MC/Mips/msa/test_bit.s b/llvm/test/MC/Mips/msa/test_bit.s index 7c2313116c3e..d5ffc79dd84d 100644 --- a/llvm/test/MC/Mips/msa/test_bit.s +++ b/llvm/test/MC/Mips/msa/test_bit.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: bclri.b $w21, $w30, 2 # encoding: [0x79,0xf2,0xf5,0x49] # CHECK: bclri.h $w24, $w21, 0 # encoding: [0x79,0xe0,0xae,0x09] diff --git a/llvm/test/MC/Mips/msa/test_cbranch.s b/llvm/test/MC/Mips/msa/test_cbranch.s index 2fc65afc1c9f..185973e28193 100644 --- a/llvm/test/MC/Mips/msa/test_cbranch.s +++ b/llvm/test/MC/Mips/msa/test_cbranch.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # #CHECK: bnz.b $w0, 4 # encoding: [0x47,0x80,0x00,0x01] #CHECK: nop # encoding: [0x00,0x00,0x00,0x00] diff --git a/llvm/test/MC/Mips/msa/test_ctrlregs.s b/llvm/test/MC/Mips/msa/test_ctrlregs.s index f8f4f9eafd26..da01c3a877b2 100644 --- a/llvm/test/MC/Mips/msa/test_ctrlregs.s +++ b/llvm/test/MC/Mips/msa/test_ctrlregs.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # #CHECK: cfcmsa $1, $0 # encoding: [0x78,0x7e,0x00,0x59] #CHECK: cfcmsa $1, $0 # encoding: [0x78,0x7e,0x00,0x59] diff --git a/llvm/test/MC/Mips/msa/test_elm.s b/llvm/test/MC/Mips/msa/test_elm.s index 1d0483826a97..395176f56dc0 100644 --- a/llvm/test/MC/Mips/msa/test_elm.s +++ b/llvm/test/MC/Mips/msa/test_elm.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: copy_s.b $13, $w8[2] # encoding: [0x78,0x82,0x43,0x59] # CHECK: copy_s.h $1, $w25[0] # encoding: [0x78,0xa0,0xc8,0x59] diff --git a/llvm/test/MC/Mips/msa/test_elm_insert.s b/llvm/test/MC/Mips/msa/test_elm_insert.s index 5fc55f3ef0c8..2e50ef4be909 100644 --- a/llvm/test/MC/Mips/msa/test_elm_insert.s +++ b/llvm/test/MC/Mips/msa/test_elm_insert.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: insert.b $w23[3], $sp # encoding: [0x79,0x03,0xed,0xd9] # CHECK: insert.h $w20[2], $5 # encoding: [0x79,0x22,0x2d,0x19] diff --git a/llvm/test/MC/Mips/msa/test_elm_insve.s b/llvm/test/MC/Mips/msa/test_elm_insve.s index d63d687ddfe6..cb2f08b36730 100644 --- a/llvm/test/MC/Mips/msa/test_elm_insve.s +++ b/llvm/test/MC/Mips/msa/test_elm_insve.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: insve.b $w25[3], $w9[0] # encoding: [0x79,0x43,0x4e,0x59] # CHECK: insve.h $w24[2], $w2[0] # encoding: [0x79,0x62,0x16,0x19] diff --git a/llvm/test/MC/Mips/msa/test_i10.s b/llvm/test/MC/Mips/msa/test_i10.s index 828ebb539875..f0f421a4aa0e 100644 --- a/llvm/test/MC/Mips/msa/test_i10.s +++ b/llvm/test/MC/Mips/msa/test_i10.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: ldi.b $w8, 198 # encoding: [0x7b,0x06,0x32,0x07] diff --git a/llvm/test/MC/Mips/msa/test_i5.s b/llvm/test/MC/Mips/msa/test_i5.s index 992bfe1a2a39..a3fceddeb15c 100644 --- a/llvm/test/MC/Mips/msa/test_i5.s +++ b/llvm/test/MC/Mips/msa/test_i5.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: addvi.b $w3, $w31, 30 # encoding: [0x78,0x1e,0xf8,0xc6] # CHECK: addvi.h $w24, $w13, 26 # encoding: [0x78,0x3a,0x6e,0x06] diff --git a/llvm/test/MC/Mips/msa/test_i8.s b/llvm/test/MC/Mips/msa/test_i8.s index 2604be0bb6d6..d8d6c8e923f8 100644 --- a/llvm/test/MC/Mips/msa/test_i8.s +++ b/llvm/test/MC/Mips/msa/test_i8.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: andi.b $w2, $w29, 48 # encoding: [0x78,0x30,0xe8,0x80] # CHECK: bmnzi.b $w6, $w22, 126 # encoding: [0x78,0x7e,0xb1,0x81] diff --git a/llvm/test/MC/Mips/msa/test_lsa.s b/llvm/test/MC/Mips/msa/test_lsa.s index 6d1d868fc861..0af06943c510 100644 --- a/llvm/test/MC/Mips/msa/test_lsa.s +++ b/llvm/test/MC/Mips/msa/test_lsa.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: lsa $8, $9, $10, 1 # encoding: [0x01,0x2a,0x40,0x05] # CHECK: lsa $8, $9, $10, 2 # encoding: [0x01,0x2a,0x40,0x45] diff --git a/llvm/test/MC/Mips/msa/test_mi10.s b/llvm/test/MC/Mips/msa/test_mi10.s index 94711ebaa7f5..d69ae45010f0 100644 --- a/llvm/test/MC/Mips/msa/test_mi10.s +++ b/llvm/test/MC/Mips/msa/test_mi10.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: ld.b $w0, -512($1) # encoding: [0x7a,0x00,0x08,0x20] # CHECK: ld.b $w1, 0($2) # encoding: [0x78,0x00,0x10,0x60] diff --git a/llvm/test/MC/Mips/msa/test_vec.s b/llvm/test/MC/Mips/msa/test_vec.s index 9294f3703cb7..dc577b75ff74 100644 --- a/llvm/test/MC/Mips/msa/test_vec.s +++ b/llvm/test/MC/Mips/msa/test_vec.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s +# RUN: llvm-mc %s -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s # -# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP +# RUN: llvm-mc %s -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP # # CHECK: and.v $w25, $w20, $w27 # encoding: [0x78,0x1b,0xa6,0x5e] # CHECK: bmnz.v $w17, $w6, $w7 # encoding: [0x78,0x87,0x34,0x5e]