llvm-6502/test/CodeGen/Mips
Akira Hatanaka ae7e7cb3d3 [mips] Improve instruction selection for pattern (store (fp_to_sint $src), $ptr).
Previously, three instructions were needed:

trunc.w.s $f0, $f2
mfc1 $4, $f0
sw $4, 0($2)

Now we need only two:

trunc.w.s $f0, $f2
swc1 $f0, 0($2)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182053 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-16 21:17:15 +00:00
..
2008-06-05-Carry.ll
2008-07-03-SRet.ll
2008-07-06-fadd64.ll
2008-07-07-Float2Int.ll
2008-07-07-FPExtend.ll
2008-07-07-IntDoubleConvertions.ll
2008-07-15-InternalConstant.ll
2008-07-15-SmallSection.ll
2008-07-16-SignExtInReg.ll
2008-07-22-Cstpool.ll
2008-07-23-fpcmp.ll
2008-07-29-icmp.ll
2008-07-31-fcopysign.ll
2008-08-01-AsmInline.ll
2008-08-03-fabs64.ll
2008-08-03-ReturnDouble.ll
2008-08-04-Bitconvert.ll
2008-08-06-Alloca.ll
2008-08-07-CC.ll
2008-08-07-FPRound.ll
2008-08-08-bswap.ll
2008-08-08-ctlz.ll
2008-10-13-LegalizerBug.ll
2008-11-10-xint_to_fp.ll
2009-11-16-CstPoolLoad.ll
2010-07-20-Switch.ll [mips] Custom-legalize BR_JT. 2013-03-06 21:32:03 +00:00
2010-11-09-CountLeading.ll
2010-11-09-Mul.ll
2011-05-26-BranchKillsVreg.ll
2012-12-12-ExpandMemcpy.ll
addc.ll
addi.ll Add the 16 bit version of addiu. To the assembler, the 16 and 32 bit are the 2013-02-08 21:42:56 +00:00
addressing-mode.ll
align16.ll For Mips 16, add the optimization where the 16 bit form of addiu sp can be used 2013-02-13 20:28:27 +00:00
alloca16.ll fix most of remaining issues with large frames. 2012-12-20 04:07:42 +00:00
alloca.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
analyzebranch.ll
and1.ll
asm-large-immediate.ll
atomic.ll
atomicops.ll
biggot.ll
blockaddr.ll
br-jmp.ll Expand pseudos/macros for Selt. This is the last of the complex 2013-02-23 03:09:56 +00:00
brconeq.ll
brconeqk.ll
brconeqz.ll
brconge.ll
brcongt.ll
brconle.ll
brconlt.ll
brconne.ll
brconnek.ll
brconnez.ll
brdelayslot.ll [mips] Remove unused option. Fix 80-column violations. 2013-03-01 02:17:02 +00:00
brind.ll
bswap.ll
buildpairextractelementf64.ll
check-noat.ll
cmov.ll Cleanup: test source files do not need to be executable 2013-04-22 08:02:43 +00:00
constantfp0.ll
cprestore.ll
DbgValueOtherTargets.test Remove unnecessary leading comment characters in lit-only file 2013-03-18 22:08:16 +00:00
div_rem.ll
div.ll
divrem.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
divu_remu.ll
divu.ll
double2int.ll
dsp-patterns-cmp-vselect.ll [mips] Instruction selection patterns for DSP-ASE vector select and compare 2013-04-30 22:37:26 +00:00
dsp-patterns.ll [mips] In performDSPShiftCombine, check that all elements in the vector are 2013-04-22 19:58:23 +00:00
dsp-r1.ll [mips] Split the DSP control register and define one register for each field of 2013-05-03 18:37:49 +00:00
dsp-r2.ll
eh-dwarf-cfa.ll
eh-return32.ll [mips] Small update to the implementation of eh.return for Mips. 2013-04-02 23:02:07 +00:00
eh-return64.ll More test coverage for addFrameMove. 2013-05-16 19:44:40 +00:00
eh.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
ex2.ll More addFrameMove test coverage. 2013-05-16 20:00:45 +00:00
extins.ll
fabs.ll
fastcc.ll
fcopysign-f32-f64.ll
fcopysign.ll
fmadd1.ll
fneg.ll
fp16static.ll Make sure we call externals from libraries properly when -static. 2013-02-07 04:34:51 +00:00
fp-indexed-ls.ll
fp-spill-reload.ll
fpbr.ll
fpneeded.ll This is for an experimental option -mips-os16. The idea is to compile all 2013-04-10 16:58:04 +00:00
fpnotneeded.ll This is for an experimental option -mips-os16. The idea is to compile all 2013-04-10 16:58:04 +00:00
frame-address.ll Add more addFrameMove test coverage. 2013-05-16 14:51:26 +00:00
frem.ll
global-address.ll
global-pointer-reg.ll
gpreg-lazy-binding.ll [mips] Print move instructions. 2013-03-04 22:25:01 +00:00
gprestore.ll
helloworld.ll Fix minor mips16 issues in directives for function prologue. Probably this does 2013-02-15 01:04:38 +00:00
hf16_1.ll The next phase of Mips16 hard float implementation. 2013-01-24 04:24:02 +00:00
hf16call32_body.ll Patch number 2 for mips16/32 floating point interoperability stubs. 2013-05-16 02:17:42 +00:00
hf16call32.ll This is the first of three patches which creates stubs used for 2013-05-14 02:00:24 +00:00
i32k.ll
i64arg.ll [mips] Print move instructions. 2013-03-04 22:25:01 +00:00
imm.ll
indirectcall.ll
init-array.ll
inlineasm64.ll
inlineasm_constraint.ll Mips specific inline assembler constraint 'R' 2013-03-04 21:33:15 +00:00
inlineasm-cnstrnt-bad-I-1.ll
inlineasm-cnstrnt-bad-J.ll
inlineasm-cnstrnt-bad-K.ll
inlineasm-cnstrnt-bad-L.ll
inlineasm-cnstrnt-bad-N.ll
inlineasm-cnstrnt-bad-O.ll
inlineasm-cnstrnt-bad-P.ll
inlineasm-cnstrnt-reg64.ll
inlineasm-cnstrnt-reg.ll
inlineasm-operand-code.ll
inlineasmmemop.ll Mips specific inline asm memory operand modifier test case 2013-04-11 19:39:19 +00:00
int-to-float-conversion.ll [mips] Test case for r182042. Add comment. 2013-05-16 19:57:23 +00:00
internalfunc.ll
jtstat.ll Test case hygiene. 2013-03-09 18:25:40 +00:00
largefr1.ll When Mips16 frames grow large, the immediate field may exceed the maximum 2013-02-08 03:57:41 +00:00
largeimm1.ll
largeimmprinting.ll
lb1.ll
lbu1.ll
lh1.ll
lhu1.ll
lit.local.cfg Include '.test' suffix in target specific lit configs that need it 2013-03-18 20:31:44 +00:00
llcarry.ll
load-store-left-right.ll
longbranch.ll
machineverifier.ll
madd-msub.ll [mips] Fix DSP instructions to have explicit accumulator register operands. 2013-03-30 01:58:00 +00:00
memcpy.ll
mips16_32_1.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_32_3.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_32_4.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_32_5.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_32_6.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_32_7.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_32_8.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_32_9.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_32_10.ll This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
mips16_fpret.ll Add -mtriple=mipsel-linux-gnu to the test so that the compiler does 2013-05-11 01:02:20 +00:00
mips16ex.ll This patch is needed to make c++ exceptions work for mips16. 2012-12-16 04:00:45 +00:00
mips16fpe.ll This code implements most of mips16 hardfloat as it is done by gcc. 2012-12-15 00:20:05 +00:00
mips64-f128-call.ll [mips] Add a line which checks function name. Rename file. 2013-03-06 01:58:03 +00:00
mips64-f128.ll [mips] Fix MipsCC::analyzeReturn so that, in soft-float mode, fp128 gets 2013-03-05 22:54:59 +00:00
mips64-fp-indexed-ls.ll
mips64-libcall.ll Test case hygiene. 2013-03-09 18:25:40 +00:00
mips64-sret.ll [mips] Print move instructions. 2013-03-04 22:25:01 +00:00
mips64countleading.ll
mips64directive.ll
mips64ext.ll
mips64extins.ll
mips64fpimm0.ll
mips64fpldst.ll
mips64imm.ll
mips64instrs.ll
mips64intldst.ll
mips64lea.ll
mips64load-store-left-right.ll
mips64muldiv.ll
mips64shift.ll
mipslopat.ll
misha.ll
mno-ldc1-sdc1.ll [mips] Add option -mno-ldc1-sdc1. 2013-05-13 18:23:35 +00:00
mul.ll
mulll.ll
mulull.ll
neg1.ll
not1.ll
null.ll
o32_cc_byval.ll [mips] Implement MipsRegisterInfo::getRegPressureLimit. 2013-01-22 21:34:25 +00:00
o32_cc_vararg.ll
o32_cc.ll
or1.ll
private.ll
ra-allocatable.ll
rdhwr-directives.ll
rem.ll
remat-immed-load.ll
remu.ll
return_address.ll [mips] Print move instructions. 2013-03-04 22:25:01 +00:00
return-vector.ll
rotate.ll
sb1.ll
select.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
selectcc.ll
seleq.ll Beginning of expanding all current mips16 macro/pseudo instruction sequences. 2013-02-18 00:59:04 +00:00
seleqk.ll Expand pseudos BteqzT8CmpiX16 and BtnezT8CmpiX16. 2013-02-19 00:20:58 +00:00
selgek.ll Expand mips16 SelT form pseudso/macros. 2013-02-22 05:10:51 +00:00
selgt.ll Expand pseudo/macro BteqzT8SltX16. 2013-02-18 04:04:26 +00:00
selle.ll Expand macro/pseudo instructions BtnezT8SltX16 and BtnezT8SltuX16. 2013-02-18 05:43:03 +00:00
selltk.ll Expand mips16 SelT form pseudso/macros. 2013-02-22 05:10:51 +00:00
selne.ll Expand mips16 SelT form pseudso/macros. 2013-02-22 05:10:51 +00:00
selnek.ll Expand pseudos BteqzT8CmpiX16 and BtnezT8CmpiX16. 2013-02-19 00:20:58 +00:00
selpat.ll Expand pseudos/macros for Selt. This is the last of the complex 2013-02-23 03:09:56 +00:00
selTBteqzCmpi.ll Expand mips16 SelT form pseudso/macros. 2013-02-22 05:10:51 +00:00
selTBtnezCmpi.ll Expand mips16 SelT form pseudso/macros. 2013-02-22 05:10:51 +00:00
selTBtnezSlti.ll Expand mips16 SelT form pseudso/macros. 2013-02-22 05:10:51 +00:00
setcc-se.ll [mips] Add instruction selection pattern for (seteq $LHS, 0). 2013-05-08 19:38:04 +00:00
seteq.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
seteqz.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setge.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setgek.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setle.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setlt.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setltk.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setne.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setuge.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setugt.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setule.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setult.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
setultk.ll Expand pseudos/macros: 2013-02-20 05:45:15 +00:00
sh1.ll
shift-parts.ll
sint-fp-store_pattern.ll [mips] Improve instruction selection for pattern (store (fp_to_sint $src), $ptr). 2013-05-16 21:17:15 +00:00
sitofp-selectcc-opt.ll
sll1.ll
sll2.ll
small-section-reserve-gp.ll
spill-copy-acreg.ll [mips] Handle reading, writing or copying of ccond field of DSP control 2013-05-02 23:07:05 +00:00
sra1.ll
sra2.ll
srl1.ll
srl2.ll
stackcoloring.ll StackColoring: don't clear an instruction's mem operand if the underlying 2013-05-14 01:42:44 +00:00
stacksize.ll
stchar.ll
stldst.ll
sub1.ll
sub2.ll
swzero.ll
tailcall.ll
tls16_2.ll
tls16.ll
tls-alias.ll
tls-models.ll
tls.ll [mips] Implement MipsRegisterInfo::getRegPressureLimit. 2013-01-22 21:34:25 +00:00
tnaked.ll Remove some uneeded pseudos in the presence of the naked function attribute. 2013-05-03 23:17:24 +00:00
uitofp.ll
ul1.ll
unalignedload.ll
vector-load-store.ll
vector-setcc.ll [mips] MipsTargetLowering::getSetCCResultType should return a vector type if 2013-01-04 20:06:01 +00:00
weak.ll
xor1.ll
zeroreg.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00