Skip to content
  1. May 17, 2007
  2. Apr 27, 2007
  3. Apr 22, 2007
  4. Apr 10, 2007
  5. Apr 02, 2007
  6. Mar 31, 2007
  7. Mar 28, 2007
  8. Mar 25, 2007
  9. Mar 21, 2007
  10. Mar 20, 2007
  11. Mar 16, 2007
  12. Mar 13, 2007
  13. Jan 30, 2007
    • Evan Cheng's avatar
      - Fix codegen for pc relative constant (e.g. JT) in thumb mode: · 83f35170
      Evan Cheng authored
              .set PCRELV0, (LJTI1_0_0-(LPCRELL0+4))
      LPCRELL0:
              add r1, pc, #PCRELV0
      This is not legal since add r1, pc, #c requires the constant be a multiple of 4.
      Do the following instead:
              .set PCRELV0, (LJTI1_0_0-(LPCRELL0+4))
      LPCRELL0:
              mov r1, #PCRELV0
              add r1, pc
      
      - In thumb mode, it's not possible to use .set generate a pc relative stub
        address. The stub is ARM code which is in a different section from the thumb
        code. Load the value from a constpool instead.
      - Some asm printing clean up.
      
      llvm-svn: 33664
      83f35170
  14. Jan 19, 2007
Loading