[PATCH RFC 4/4] R600: optimize the UDIVREM 64 algorithm
Matt Arsenault
Matthew.Arsenault at amd.com
Fri Apr 25 12:27:08 PDT 2014
On 04/25/2014 12:08 PM, Jan Vesely wrote:
> + HBit = DAG.getNode(AMDGPUISD::BFE_U32, DL, HalfVT, LHS_Lo, POS, one);
This might want a check for a subtarget with BFE instructions.
Alternatively, I've been thinking it might be easier for places that
want to use BFE to just use it, and to handle expanding BFE nodes for
the old GPUs that don't support it somewhere else.
More information about the llvm-commits
mailing list