Reviewed-by: Brian Paul <brianp@vmware.com>
assert(lp_check_value(type, a));
assert(util_cpu_caps.has_altivec);
assert(lp_check_value(type, a));
assert(util_cpu_caps.has_altivec);
switch (mode) {
case LP_BUILD_ROUND_NEAREST:
intrinsic = "llvm.ppc.altivec.vrfin";
switch (mode) {
case LP_BUILD_ROUND_NEAREST:
intrinsic = "llvm.ppc.altivec.vrfin";
assert(lp_check_value(type, a));
assert(lp_check_value(type, b));
assert(lp_check_value(type, a));
assert(lp_check_value(type, b));
res = LLVMBuildShl(builder, a, b, "");
return res;
res = LLVMBuildShl(builder, a, b, "");
return res;