Changes in directory llvm/lib/Target/IA64:
IA64ISelLowering.cpp updated: 1.19 -> 1.20 IA64ISelPattern.cpp updated: 1.75 -> 1.76 --- Log message: bswap implementation --- Diffs of the changes: (+2 -0) IA64ISelLowering.cpp | 1 + IA64ISelPattern.cpp | 1 + 2 files changed, 2 insertions(+) Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.19 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.20 --- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.19 Thu Jan 12 20:40:58 2006 +++ llvm/lib/Target/IA64/IA64ISelLowering.cpp Fri Jan 13 21:14:10 2006 @@ -82,6 +82,7 @@ setOperationAction(ISD::CTLZ , MVT::i64 , Expand); setOperationAction(ISD::ROTL , MVT::i64 , Expand); setOperationAction(ISD::ROTR , MVT::i64 , Expand); + setOperationAction(ISD::BSWAP, MVT::i64 , Expand); // mux @rev // Not implemented yet. setOperationAction(ISD::STACKSAVE, MVT::Other, Expand); Index: llvm/lib/Target/IA64/IA64ISelPattern.cpp diff -u llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.75 llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.76 --- llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.75 Thu Jan 12 20:40:58 2006 +++ llvm/lib/Target/IA64/IA64ISelPattern.cpp Fri Jan 13 21:14:10 2006 @@ -98,6 +98,7 @@ setOperationAction(ISD::CTLZ , MVT::i64 , Expand); setOperationAction(ISD::ROTL , MVT::i64 , Expand); setOperationAction(ISD::ROTR , MVT::i64 , Expand); + setOperationAction(ISD::BSWAP, MVT::i64 , Expand); // mux @rev // FIXME: implement mulhs (xma.h) and mulhu (xma.hu) setOperationAction(ISD::MULHS , MVT::i64 , Expand); setOperationAction(ISD::MULHU , MVT::i64 , Expand); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits