Skip to content
  1. Aug 23, 2006
  2. Jul 27, 2006
  3. Jul 25, 2006
  4. Jul 12, 2006
  5. Jul 11, 2006
  6. Jun 29, 2006
  7. Jun 27, 2006
  8. May 03, 2006
  9. May 02, 2006
  10. Apr 22, 2006
  11. Apr 17, 2006
  12. Mar 21, 2006
  13. Mar 10, 2006
  14. Feb 22, 2006
  15. Feb 18, 2006
  16. Jan 29, 2006
  17. Jan 22, 2006
  18. Jan 07, 2006
  19. Dec 11, 2005
  20. Nov 16, 2005
  21. Oct 16, 2005
  22. Oct 15, 2005
  23. Oct 01, 2005
  24. Aug 25, 2005
  25. Jul 27, 2005
  26. Jul 21, 2005
  27. Apr 22, 2005
  28. Apr 19, 2005
  29. Apr 18, 2005
  30. 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
Loading