Skip to content
  1. Nov 10, 2005
  2. Nov 01, 2005
  3. Oct 31, 2005
  4. Oct 28, 2005
  5. Oct 18, 2005
  6. Oct 16, 2005
  7. Oct 15, 2005
  8. Oct 03, 2005
  9. Sep 02, 2005
  10. Sep 01, 2005
  11. Aug 27, 2005
  12. Aug 23, 2005
  13. Aug 21, 2005
  14. Aug 06, 2005
  15. Aug 04, 2005
  16. Aug 02, 2005
  17. Jul 26, 2005
  18. Jul 21, 2005
  19. Jul 12, 2005
  20. Jul 08, 2005
  21. Apr 22, 2005
  22. Apr 14, 2005
  23. Apr 10, 2005
  24. Apr 05, 2005
  25. Mar 30, 2005
  26. Mar 15, 2005
  27. Dec 12, 2004
  28. Nov 27, 2004
  29. Nov 25, 2004
    • Nate Begeman's avatar
      Enable optimization suggested by Chris Lattner to not emit reloc stubs for · 3f76eb69
      Nate Begeman authored
      static global variables whose addresses are taken.  This allows us to
      convert the following code for taking the address of a static function foo
      
              addis r2, r30, ha16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb")
              lwz r3, lo16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb")(r2)
      
      which also includes linker stub code emitted at the end of the .s file not
      shown here, and replace it with this:
      
              addis r2, r30, ha16(l1__2E_foo_2-"L00001$pb")
              la r3, lo16(l1__2E_foo_2-"L00001$pb")(r2)
      
      which in addition to not needing linker help, also has no load instruction.
      For those not up on PowerPC mnemonics, la is shorthand for add immediate.
      
      llvm-svn: 18239
      3f76eb69
  30. Nov 14, 2004
Loading