summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/mips64intldst.ll
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-04-14 16:00:28 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-04-14 16:00:28 +0000
commit1d3ae27f011d9216b058e82f21f4e4e7e4c0df84 (patch)
tree58d3c95b76f0084d39c28bdc9bb14db5d6f8c22c /llvm/test/CodeGen/Mips/mips64intldst.ll
parent91c71ddd8dfef9f1d26df1bc6441771b0542bb00 (diff)
downloadbcm5719-llvm-1d3ae27f011d9216b058e82f21f4e4e7e4c0df84.tar.gz
bcm5719-llvm-1d3ae27f011d9216b058e82f21f4e4e7e4c0df84.zip
[mips] MIPS-IV is broadly the same as MIPS64 so duplicate all -mcpu=mips64 tests with -mcpu=mips4 as a starting point
Summary: Two exceptions to this: test/CodeGen/Mips/octeon.ll test/CodeGen/Mips/octeon_popcnt.ll these test extensions to MIPS64 One test is altered for MIPS-IV: test/CodeGen/Mips/mips64countleading.ll Tests dclo/dclz which were added in MIPS64. The MIPS-IV version tests that dclo/dclz are not emitted. Four tests fail and are not in this patch: test/CodeGen/Mips/abicalls.ll test/CodeGen/Mips/fcopysign-f32-f64.ll test/CodeGen/Mips/fcopysign.ll test/CodeGen/Mips/stack-alignment.ll Depends on D3343 Reviewers: matheusalmeida, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3344 llvm-svn: 206185
Diffstat (limited to 'llvm/test/CodeGen/Mips/mips64intldst.ll')
-rw-r--r--llvm/test/CodeGen/Mips/mips64intldst.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/mips64intldst.ll b/llvm/test/CodeGen/Mips/mips64intldst.ll
index 62244f60b00..c3607baeefe 100644
--- a/llvm/test/CodeGen/Mips/mips64intldst.ll
+++ b/llvm/test/CodeGen/Mips/mips64intldst.ll
@@ -1,3 +1,5 @@
+; RUN: llc < %s -march=mips64el -mcpu=mips4 -mattr=-n64,n64 | FileCheck %s -check-prefix=CHECK-N64
+; RUN: llc < %s -march=mips64el -mcpu=mips4 -mattr=-n64,n32 | FileCheck %s -check-prefix=CHECK-N32
; RUN: llc < %s -march=mips64el -mcpu=mips64 -mattr=-n64,n64 | FileCheck %s -check-prefix=CHECK-N64
; RUN: llc < %s -march=mips64el -mcpu=mips64 -mattr=-n64,n32 | FileCheck %s -check-prefix=CHECK-N32
OpenPOWER on IntegriCloud