llvm-6502/lib
Akira Hatanaka ec4db6ab5f [mips] Fix instruction selection pattern for sint_to_fp node to avoid emitting an
invalid instruction sequence.

Rather than emitting an int-to-FP move instruction and an int-to-FP conversion
instruction during instruction selection, we emit a pseudo instruction which gets
expanded post-RA. Without this change, register allocation can possibly insert a
floating point register move instruction between the two instructions, which is not
valid according to the ISA manual.

mtc1 $f4, $4         # int-to-fp move instruction.
mov.s $f2, $f4       # move contents of $f4 to $f2.
cvt.s.w $f0, $f2     # int-to-fp conversion.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182042 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-16 19:48:37 +00:00
..
Analysis Respect the 'nobuiltin' attribute when determining if a call is to a memory builtin. 2013-05-16 04:12:04 +00:00
Archive
AsmParser
Bitcode
CodeGen DAGCombine: Also shrink eq compares where the constant is exactly as large as the smaller type. 2013-05-16 18:47:58 +00:00
DebugInfo
ExecutionEngine SectionMemoryManager shouldn't be a JITMemoryManager. Previously, the 2013-05-14 19:29:00 +00:00
IR Remove dead code. 2013-05-15 22:41:28 +00:00
IRReader
Linker
MC Cleanup relocation sorting for ELF. 2013-05-15 18:22:01 +00:00
Object Object: Fix Mach-O relocation printing. 2013-05-14 22:41:29 +00:00
Option
Support Fix build on Windows 2013-05-15 09:00:30 +00:00
TableGen
Target [mips] Fix instruction selection pattern for sint_to_fp node to avoid emitting an 2013-05-16 19:48:37 +00:00
Transforms [msan] Switch TLS globals to initial-exec model. 2013-05-16 09:14:05 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile