IR: Change PCLMUL to use IR::OpSize

This commit is contained in:
Ryan Houdek 2024-10-28 01:40:21 -07:00
parent d26d9e7e03
commit f4e930262f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -414,7 +414,7 @@ void OpDispatchBuilder::PCLMULQDQOp(OpcodeArgs) {
} }
void OpDispatchBuilder::VPCLMULQDQOp(OpcodeArgs) { void OpDispatchBuilder::VPCLMULQDQOp(OpcodeArgs) {
const auto DstSize = GetDstSize(Op); const auto DstSize = OpSizeFromDst(Op);
Ref Src1 = LoadSource(FPRClass, Op, Op->Src[0], Op->Flags); Ref Src1 = LoadSource(FPRClass, Op, Op->Src[0], Op->Flags);
Ref Src2 = LoadSource(FPRClass, Op, Op->Src[1], Op->Flags); Ref Src2 = LoadSource(FPRClass, Op, Op->Src[1], Op->Flags);

View File

@ -2652,7 +2652,7 @@
], ],
"DestSize": "4" "DestSize": "4"
}, },
"FPR = PCLMUL u8:#RegisterSize, FPR:$Src1, FPR:$Src2, u8:$Selector": { "FPR = PCLMUL OpSize:#RegisterSize, FPR:$Src1, FPR:$Src2, u8:$Selector": {
"Desc": [ "Desc": [
"Performs carryless multiplication of 64-bit elements depending on the selector.", "Performs carryless multiplication of 64-bit elements depending on the selector.",
"Selector = 0b00000000: Uses low 64-bit elements from both input vectors", "Selector = 0b00000000: Uses low 64-bit elements from both input vectors",