llvm-6502/test/CodeGen/Mips/msa
Daniel Sanders c385709d83 [mips][msa] Added support for matching bmnz, bmnzi, bmz, and bmzi from normal IR (i.e. not intrinsics)
Also corrected the definition of the intrinsics for these instructions (the
result register is also the first operand), and added intrinsics for bsel and
bseli to clang (they already existed in the backend).

These four operations are mostly equivalent to bsel, and bseli (the difference
is which operand is tied to the result). As a result some of the tests changed
as described below.

bitwise.ll:
- bsel.v test adapted so that the mask is unknown at compile-time. This stops
  it emitting bmnzi.b instead of the intended bsel.v.
- The bseli.b test now tests the right thing. Namely the case when one of the
  values is an uimm8, rather than when the condition is a uimm8 (which is
  covered by bmnzi.b)

compare.ll:
- bsel.v tests now (correctly) emits bmnz.v instead of bsel.v because this
  is the same operation (see MSA.txt).

i8.ll
- CHECK-DAG-ized test.
- bmzi.b test now (correctly) emits equivalent bmnzi.b with swapped operands
  because this is the same operation (see MSA.txt).
- bseli.b still emits bseli.b though because the immediate makes it
  distinguishable from bmnzi.b.

vec.ll:
- CHECK-DAG-ized test.
- bmz.v tests now (correctly) emits bmnz.v with swapped operands (see
  MSA.txt).
- bsel.v tests now (correctly) emits bmnz.v with swapped operands (see
  MSA.txt).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193693 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-30 15:20:38 +00:00
..
2r_vector_scalar.ll [mips][msa] Implemented fill.d intrinsic. 2013-09-27 13:20:41 +00:00
2r.ll
2rf_exup.ll
2rf_float_int.ll
2rf_fq.ll
2rf_int_float.ll
2rf_tq.ll
2rf.ll
3r_4r_widen.ll
3r_4r.ll
3r_splat.ll [mips][msa] Added support for matching splat.[bhw] from normal IR (i.e. not intrinsics) 2013-10-30 13:07:44 +00:00
3r-a.ll
3r-b.ll
3r-c.ll
3r-d.ll
3r-i.ll
3r-m.ll
3r-p.ll
3r-s.ll [mips][msa] Fix definition of SLD instruction. 2013-10-21 11:47:56 +00:00
3r-v.ll
3rf_4rf_q.ll
3rf_4rf.ll
3rf_exdo.ll
3rf_float_int.ll
3rf_int_float.ll
3rf_q.ll
3rf.ll
arithmetic_float.ll [mips][msa] Added support for matching fexp2 from normal IR (i.e. not intrinsics) 2013-10-23 10:36:52 +00:00
arithmetic.ll [mips][msa] Added support for matching maddv.[bhwd], and msubv.[bhwd] from normal IR (i.e. not intrinsics) 2013-10-11 10:50:42 +00:00
basic_operations_float.ll [mips][msa] Added support for build_vector for v4f32 and v2f64. 2013-10-15 13:14:41 +00:00
basic_operations.ll
bit.ll
bitcast.ll
bitwise.ll [mips][msa] Added support for matching bmnz, bmnzi, bmz, and bmzi from normal IR (i.e. not intrinsics) 2013-10-30 15:20:38 +00:00
compare_float.ll
compare.ll [mips][msa] Added support for matching bmnz, bmnzi, bmz, and bmzi from normal IR (i.e. not intrinsics) 2013-10-30 15:20:38 +00:00
elm_copy.ll
elm_cxcmsa.ll
elm_insv.ll [mips][msa] Implemented insert.d intrinsic. 2013-09-27 13:36:54 +00:00
elm_move.ll
elm_shift_slide.ll
i5_ld_st.ll
i5-a.ll
i5-b.ll [mips][msa] Added support for matching bins[lr]i.[bhwd] from normal IR (i.e. not intrinsics) 2013-10-30 14:45:14 +00:00
i5-c.ll
i5-m.ll
i5-s.ll
i8.ll [mips][msa] Added support for matching bmnz, bmnzi, bmz, and bmzi from normal IR (i.e. not intrinsics) 2013-10-30 15:20:38 +00:00
i10.ll
llvm-stress-s525530439.ll
llvm-stress-s997348632.ll
llvm-stress-s1935737938.ll
llvm-stress-s3997499501.ll [mips][msa] Added a regression test that depended on multiple patches to pass. 2013-10-18 09:52:21 +00:00
llvm-stress-sz1-s742806235.ll
shuffle.ll
special.ll [mips][msa] Added lsa instruction 2013-10-17 13:38:20 +00:00
spill.ll
vec.ll [mips][msa] Added support for matching bmnz, bmnzi, bmz, and bmzi from normal IR (i.e. not intrinsics) 2013-10-30 15:20:38 +00:00
vecs10.ll