From 9a72d4c03e202cbf233a99363207f8fb05955091 Mon Sep 17 00:00:00 2001 From: George Kyriazis Date: Thu, 19 Apr 2018 13:15:31 -0500 Subject: [PATCH] swr/rast: Fix return type of VCVTPS2PH. expecting <8xi16> return. Reviewed-by: Bruce Cherniak --- .../drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py index bced6576443..2e7f1a88a0a 100644 --- a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py +++ b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py @@ -53,7 +53,7 @@ intrinsics = [ ['VPERMPS', ['idx', 'a'], 'a'], ['VCVTPD2PS', ['a'], 'VectorType::get(mFP32Ty, a->getType()->getVectorNumElements())'], ['VCVTPH2PS', ['a'], 'VectorType::get(mFP32Ty, a->getType()->getVectorNumElements())'], - ['VCVTPS2PH', ['a', 'round'], 'mSimdFP16Ty'], + ['VCVTPS2PH', ['a', 'round'], 'mSimdInt16Ty'], ['VHSUBPS', ['a', 'b'], 'a'], ['VPTESTC', ['a', 'b'], 'mInt32Ty'], ['VPTESTZ', ['a', 'b'], 'mInt32Ty'], -- 2.30.2