Skip to content
  1. Jun 15, 2005
  2. Jun 14, 2005
  3. Jun 13, 2005
  4. Jun 09, 2005
  5. Jun 08, 2005
    • Andrew Lenharth's avatar
      fix BranchCC with a setCC with an arg of 0 · c504a3db
      Andrew Lenharth authored
      llvm-svn: 22203
      c504a3db
    • Reid Spencer's avatar
      For PR572: · 8086cfaa
      Reid Spencer authored
      Undefine the PPC symbol which is defined by Linux/PPC (erroneously) so it
      doesn't pollute the user namespace and clash with our namespace declarations.
      
      llvm-svn: 22202
      8086cfaa
    • Nate Begeman's avatar
      Handle some more real world cases of rlwimi. These don't come up that · 60cf00c9
      Nate Begeman authored
      regularly in "normal" code, but for things like software graphics, they
      make a big difference.
      
      For the following code:
      unsigned short Trans16Bit(unsigned srcA,unsigned srcB,unsigned alpha)
      {
      	unsigned tmpA,tmpB,mixed;
      	tmpA = ((srcA & 0x03E0) << 15) | (srcA & 0x7C1F);
      	tmpB = ((srcB & 0x03E0) << 15) | (srcB & 0x7C1F);
      	mixed = (tmpA * alpha) + (tmpB * (32 - alpha));
      	return ((mixed >> 5) & 0x7C1F) | ((mixed >> 20) & 0x03E0);
      }
      
      We now generate:
      _Trans16Bit:
      .LBB_Trans16Bit_0:      ; entry
              andi. r2, r4, 31775
              rlwimi r2, r4, 15, 7, 11
              subfic r4, r5, 32
              mullw r2, r2, r4
              andi. r4, r3, 31775
              rlwimi r4, r3, 15, 7, 11
              mullw r3, r4, r5
              add r2, r2, r3
              srwi r3, r2, 5
              andi. r3, r3, 31775
              rlwimi r3, r2, 12, 22, 26
              blr
      
      Instead of:
      _Trans16Bit:
      .LBB_Trans16Bit_0:      ; entry
              slwi r2, r4, 15
              rlwinm r2, r2, 0, 7, 11
              andi. r4, r4, 31775
              or r2, r2, r4
              subfic r4, r5, 32
              mullw r2, r2, r4
              slwi r4, r3, 15
              rlwinm r4, r4, 0, 7, 11
              andi. r3, r3, 31775
              or r3, r4, r3
              mullw r3, r3, r5
              add r2, r2, r3
              srwi r3, r2, 5
              andi. r3, r3, 31775
              srwi r2, r2, 20
              rlwimi r3, r2, 0, 22, 26
              blr
      
      llvm-svn: 22201
      60cf00c9
    • Nate Begeman's avatar
      Fix lli linking on Mac OS X 10.4.1 for Intel. · 85c7d546
      Nate Begeman authored
      llvm-svn: 22200
      85c7d546
    • Andrew Lenharth's avatar
      Remove code for conversion from old style va_args. Preparing the way for · c3f68473
      Andrew Lenharth authored
      returning to the old style :)
      
      llvm-svn: 22199
      c3f68473
  6. Jun 06, 2005
  7. Jun 04, 2005
  8. Jun 02, 2005
  9. May 31, 2005
  10. May 27, 2005
  11. May 26, 2005
    • Andrew Lenharth's avatar
      Fix 2005-05-12-Int64ToFP · 39edea83
      Andrew Lenharth authored
      The issue is there is no unsigned -> double conversion, only signed.  So I
      need to test the sign and do a different thing depending on it.  Ideally
      this should be in a different BB, but in the mean time, I use a branch
      free method.
      
      llvm-svn: 22177
      39edea83
  12. May 21, 2005
  13. May 20, 2005
Loading