llvm-6502/test
Jack Carter d3107fbc54 Fix the invalid opcode for Mips branch instructions in the assembler
For mips a branch an 18-bit signed offset (the 16-bit 
offset field shifted left 2 bits) is added to the 
address of the instruction following the branch 
(not the branch itself), in the branch delay slot, 
to form a PC-relative effective target address. 

Previously, the code generator did not perform the 
shift of the immediate branch offset which resulted 
in wrong instruction opcode. This patch fixes the issue.

Contributor: Vladimir Medic



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177687 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-22 00:29:10 +00:00
..
Analysis Correct cost model for vector shift on AVX2 2013-03-20 22:01:10 +00:00
Archive
Assembler Correct invalid debug info metadata 2013-03-12 19:04:24 +00:00
Bindings/Ocaml Use the attribute group reference instead of the attribute directly. 2013-02-20 07:48:23 +00:00
Bitcode Unify clang/llvm attributes for asan/tsan/msan (LLVM part) 2013-02-26 06:58:09 +00:00
BugPoint
CodeGen Fix a register-class comparison bug in PPCCTRLoops 2013-03-21 23:23:34 +00:00
DebugInfo Refactor the filename/directory information in DISubprogram to refer directly to the pair rather than the DIFile. 2013-03-21 23:08:34 +00:00
ExecutionEngine Corrections for XFAIL armv5 tests 2013-02-28 10:05:10 +00:00
Feature Modify the LLVM assembly output so that it uses references to represent function attributes. 2013-02-20 07:21:42 +00:00
FileCheck Canonicalize line endings to Linux style also when the --strict-whitespace flag is in use. This flag is supposed to affect horizontal whitespaces only. 2013-02-06 20:40:38 +00:00
Instrumentation Remove unused field in DISubprogram 2013-03-21 20:28:52 +00:00
Integer
JitListener Add support for source and line information to IntelJITEventListener for object emitted by MCJIT. 2013-01-28 19:52:37 +00:00
Linker Linker: correctly link in dbg.declare 2013-01-31 21:19:18 +00:00
MC Fix the invalid opcode for Mips branch instructions in the assembler 2013-03-22 00:29:10 +00:00
Object [llvm-readobj] Add ELF .dynamic table dumping. 2013-02-20 02:37:12 +00:00
Other Check isDiscardableIfUnused, rather than hasLocalLinkage, when bumping 2013-03-04 22:40:44 +00:00
Scripts Set the +x bit on two batch scripts 2013-01-25 22:12:50 +00:00
TableGen FileCheck-ify some grep tests 2013-01-25 22:11:46 +00:00
tools PR10867: Analogue of r169441 for when using external 'sh'. And actually run the test! 2012-12-05 23:15:33 +00:00
Transforms Move the DIFile in DISubprogram to the beginning to be a common prefix along with other DIScopes 2013-03-21 22:29:36 +00:00
Unit Fixup for r176933: more careful setup of path to llvm-symbolizer 2013-03-15 07:27:49 +00:00
Verifier [IR] Add 'Append' and 'AppendUnique' module flag behaviors. 2013-01-16 21:38:56 +00:00
YAMLParser
CMakeLists.txt Add llvm-symbolizer as test dependency. 2013-03-13 09:35:18 +00:00
lit.cfg Fixup for r176933: more careful setup of path to llvm-symbolizer 2013-03-15 07:27:49 +00:00
lit.site.cfg.in Introduce llvm::sys::getProcessTriple() function. 2013-01-16 17:27:22 +00:00
Makefile In r169695, the address space limit for tests was replaced with a data 2013-03-12 12:38:10 +00:00
Makefile.tests
TestRunner.sh