IR: Change VURAvg to use IR::OpSize

This commit is contained in:
Ryan Houdek 2024-10-28 00:20:35 -07:00
parent ac55e468a7
commit 04d62cd269
No known key found for this signature in database

View File

@ -2181,7 +2181,7 @@
"NumElements": "RegisterSize / ElementSize"
},
"FPR = VURAvg u8:#RegisterSize, u8:#ElementSize, FPR:$Vector1, FPR:$Vector2": {
"FPR = VURAvg OpSize:#RegisterSize, OpSize:#ElementSize, FPR:$Vector1, FPR:$Vector2": {
"Desc": ["Does an unsigned rounded average", "dst_elem = (src1_elem + src2_elem + 1) >> 1"],
"DestSize": "RegisterSize",
"NumElements": "RegisterSize / ElementSize"