aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CellSPU
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2008-11-24 17:11:17 +0000
committerScott Michel <scottm@aero.org>2008-11-24 17:11:17 +0000
commit104de4390b9bb0030ae81408c3d173ed6053378d (patch)
treed3fdeef9e8982402dd66b320d39f6ca7f450a8b4 /test/CodeGen/CellSPU
parentfd9ddc066e4ad42b62cd5bf41871c3927c17d0f4 (diff)
downloadexternal_llvm-104de4390b9bb0030ae81408c3d173ed6053378d.zip
external_llvm-104de4390b9bb0030ae81408c3d173ed6053378d.tar.gz
external_llvm-104de4390b9bb0030ae81408c3d173ed6053378d.tar.bz2
CellSPU:
(a) Improve the extract element code: there's no need to do gymnastics with rotates into the preferred slot if a shuffle will do the same thing. (b) Rename a couple of SPUISD pseudo-instructions for readability and better semantic correspondence. (c) Fix i64 sign/any/zero extension lowering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CellSPU')
-rw-r--r--test/CodeGen/CellSPU/extract_elt.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/CodeGen/CellSPU/extract_elt.ll b/test/CodeGen/CellSPU/extract_elt.ll
index eb5e3a5..a696a85 100644
--- a/test/CodeGen/CellSPU/extract_elt.ll
+++ b/test/CodeGen/CellSPU/extract_elt.ll
@@ -1,12 +1,10 @@
; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
; RUN: grep shufb %t1.s | count 39
-; RUN: grep ilhu %t1.s | count 31
-; RUN: grep iohl %t1.s | count 31
+; RUN: grep ilhu %t1.s | count 27
+; RUN: grep iohl %t1.s | count 27
; RUN: grep lqa %t1.s | count 10
-; RUN: grep shlqbyi %t1.s | count 8
-; RUN: grep selb %t1.s | count 4
-; RUN: grep cgti %t1.s | count 4
-; RUN: grep 515 %t1.s | count 5
+; RUN: grep shlqbyi %t1.s | count 12
+; RUN: grep 515 %t1.s | count 1
; RUN: grep 1029 %t1.s | count 2
; RUN: grep 1543 %t1.s | count 2
; RUN: grep 2057 %t1.s | count 2