forked from OSchip/llvm-project
R600/SI: Add pattern for uint_to_fp
Patch by: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181266
This commit is contained in:
parent
cf6452c7d4
commit
c932d7329c
|
@ -602,7 +602,9 @@ defm V_READFIRSTLANE_B32 : VOP1_32 <0x00000002, "V_READFIRSTLANE_B32", []>;
|
|||
defm V_CVT_F32_I32 : VOP1_32 <0x00000005, "V_CVT_F32_I32",
|
||||
[(set f32:$dst, (sint_to_fp i32:$src0))]
|
||||
>;
|
||||
defm V_CVT_F32_U32 : VOP1_32 <0x00000006, "V_CVT_F32_U32", []>;
|
||||
defm V_CVT_F32_U32 : VOP1_32 <0x00000006, "V_CVT_F32_U32",
|
||||
[(set f32:$dst, (uint_to_fp i32:$src0))]
|
||||
>;
|
||||
defm V_CVT_U32_F32 : VOP1_32 <0x00000007, "V_CVT_U32_F32", []>;
|
||||
defm V_CVT_I32_F32 : VOP1_32 <0x00000008, "V_CVT_I32_F32",
|
||||
[(set i32:$dst, (fp_to_sint f32:$src0))]
|
||||
|
|
Loading…
Reference in New Issue