[llvm-commits] [llvm] r70750 - /llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sun May 3 06:14:08 PDT 2009
Author: asl
Date: Sun May 3 08:14:08 2009
New Revision: 70750
URL: http://llvm.org/viewvc/llvm-project?rev=70750&view=rev
Log:
Proper name 16 bit libcalls
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=70750&r1=70749&r2=70750&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Sun May 3 08:14:08 2009
@@ -51,19 +51,19 @@
/// InitLibcallNames - Set default libcall names.
///
static void InitLibcallNames(const char **Names) {
- Names[RTLIB::SHL_I16] = "__ashli16";
+ Names[RTLIB::SHL_I16] = "__ashlhi3";
Names[RTLIB::SHL_I32] = "__ashlsi3";
Names[RTLIB::SHL_I64] = "__ashldi3";
Names[RTLIB::SHL_I128] = "__ashlti3";
- Names[RTLIB::SRL_I16] = "__lshri16";
+ Names[RTLIB::SRL_I16] = "__lshrhi3";
Names[RTLIB::SRL_I32] = "__lshrsi3";
Names[RTLIB::SRL_I64] = "__lshrdi3";
Names[RTLIB::SRL_I128] = "__lshrti3";
- Names[RTLIB::SRA_I16] = "__ashri16";
+ Names[RTLIB::SRA_I16] = "__ashrhi3";
Names[RTLIB::SRA_I32] = "__ashrsi3";
Names[RTLIB::SRA_I64] = "__ashrdi3";
Names[RTLIB::SRA_I128] = "__ashrti3";
- Names[RTLIB::MUL_I16] = "__muli16";
+ Names[RTLIB::MUL_I16] = "__mulhi3";
Names[RTLIB::MUL_I32] = "__mulsi3";
Names[RTLIB::MUL_I64] = "__muldi3";
Names[RTLIB::MUL_I128] = "__multi3";
More information about the llvm-commits
mailing list