[llvm-commits] [llvm] r42423 - in /llvm/trunk: include/llvm/CodeGen/RuntimeLibcalls.h include/llvm/Intrinsics.td lib/Analysis/ConstantFolding.cpp lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/CodeGen/SelectionDAG/TargetLowering.cpp test/CodeGen/X86/2007-09-27-LDIntrinsics.ll utils/TableGen/CodeGenTarget.cpp utils/TableGen/IntrinsicEmitter.cpp
Dale Johannesen
dalej at apple.com
Fri Sep 28 10:19:49 PDT 2007
On Sep 28, 2007, at 10:00 AM, Chris Lattner wrote:
> Hi Dale,
>>
>> def int_powi_f32 : Intrinsic<[llvm_float_ty, llvm_float_ty,
>> llvm_i32_ty]>;
>> def int_powi_f64 : Intrinsic<[llvm_double_ty, llvm_double_ty,
>> llvm_i32_ty]>;
>> + def int_powi_f80 : Intrinsic<[llvm_f80_ty, llvm_f80_ty,
>> llvm_i32_ty]>;
>> + def int_powi_f128 : Intrinsic<[llvm_f128_ty, llvm_f128_ty,
>> llvm_i32_ty]>;
>> + def int_powi_ppcf128 : Intrinsic<[llvm_ppcf128_ty,
>> llvm_ppcf128_ty,
>> + llvm_i32_ty]>;
>> }
>
> Why not use anyfp? This would allow us to have one sqrt and one powi
> definition.
Hard to explain; it just feels like the sort of thing where all the
values ought to be spelled out.
More information about the llvm-commits
mailing list