Files
llvm-6502/test/CodeGen/Mips
Kai Nacke 92e28620d3 [mips] Refine octeon instructions seq/seqi/sne/snei
This commit refines the pattern for the octeon seq/seqi/sne/snei instructions.
The target register is set to 0 or 1 according to the result of the comparison.
In C, this is something like

rd = (unsigned long)(rs == rt)

This commit adds a zext to bring the result to i64. With this change the
instruction is selected for this type of code. (gcc produces the same code for
the above C code.)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225968 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-14 10:19:09 +00:00
..
…
…
…
…
…
2013-12-07 02:48:29 +00:00
2014-12-15 19:07:53 +00:00
…
…
…
…
…
…
…
2014-02-14 19:16:39 +00:00
…
…
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
…
…
…
2014-06-24 22:45:16 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-07-26 20:58:55 +00:00
…
…
…
…