[llvm-commits] [llvm] r133799 - in /llvm/trunk/lib/Target/PTX: PTX.td PTXAsmPrinter.cpp PTXISelLowering.cpp PTXInstrInfo.td PTXSubtarget.cpp PTXSubtarget.h
陳韋任
chenwj at iis.sinica.edu.tw
Sat Jun 25 03:54:41 PDT 2011
Hi, Justin
> + bool fdivNeedsRoundingMode() const {
> + return (PTXTarget >= PTX_SM_1_3 && PTXTarget < PTX_LAST_SM) ||
> + (PTXTarget >= PTX_COMPUTE_1_3 && PTXTarget < PTX_LAST_COMPUTE);
> + }
> +
> + bool fmadNeedsRoundingMode() const {
> + return (PTXTarget >= PTX_SM_1_3 && PTXTarget < PTX_LAST_SM) ||
> + (PTXTarget >= PTX_COMPUTE_1_3 && PTXTarget < PTX_LAST_COMPUTE);
> + }
Do we need two seperate functions to decide fdiv/fmad rounding mode?
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
More information about the llvm-commits
mailing list