[llvm-commits] CVS: llvm/lib/Target/README.txt

Chris Lattner sabre at nondot.org
Tue Nov 28 23:22:01 PST 2006



Changes in directory llvm/lib/Target:

README.txt updated: 1.49 -> 1.50
---
Log message:

done


---
Diffs of the changes:  (+0 -16)

 README.txt |   16 ----------------
 1 files changed, 16 deletions(-)


Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.49 llvm/lib/Target/README.txt:1.50
--- llvm/lib/Target/README.txt:1.49	Mon Nov 13 19:57:53 2006
+++ llvm/lib/Target/README.txt	Wed Nov 29 01:21:46 2006
@@ -303,22 +303,6 @@
   return v;
 }
 
-Nor is this:
-
-ushort %bad(ushort %a) {
-entry:
-        %tmp = cast ushort %a to uint           ; <uint> [#uses=1]
-        %tmp2 = shr uint %tmp, ubyte 8          ; <uint> [#uses=1]
-        %tmp2 = cast uint %tmp2 to ushort               ; <ushort> [#uses=1]
-        %tmp5 = shl ushort %a, ubyte 8          ; <ushort> [#uses=1]
-        %tmp6 = or ushort %tmp2, %tmp5          ; <ushort> [#uses=1]
-        ret ushort %tmp6
-}
-
-unsigned short bad(unsigned short a) {
-       return ((a & 0xff00) >> 8 | (a & 0x00ff) << 8);
-}
-
 //===---------------------------------------------------------------------===//
 
 These should turn into single 16-bit (unaligned?) loads on little/big endian






More information about the llvm-commits mailing list