Skip to content

Commit 5976867

Browse files
committed
[Clang][XTHeadVector] implement 12.10 vdivu/vdiv/vrem/vremu (llvm#81)
* [Clang][XTHeadVector] implement 12.10 `vdivu/vdiv/vrem/vremu` * [Clang][XTHeadVector] test 12.10 `vdivu/vdiv/vrem/vremu`
1 parent e8a899a commit 5976867

File tree

5 files changed

+2595
-0
lines changed

5 files changed

+2595
-0
lines changed

clang/include/clang/Basic/riscv_vector_xtheadv.td

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,13 @@ let MaskedPolicyScheme = HasPassthruOperand,
10791079
}
10801080

10811081
// 12.10. Vector Integer Divide Operations
1082+
let MaskedPolicyScheme = HasPassthruOperand,
1083+
UnMaskedPolicyScheme = HasPassthruOperand in {
1084+
defm th_vdivu : RVVUnsignedBinBuiltinSet;
1085+
defm th_vdiv : RVVSignedBinBuiltinSet;
1086+
defm th_vremu : RVVUnsignedBinBuiltinSet;
1087+
defm th_vrem : RVVSignedBinBuiltinSet;
1088+
}
10821089

10831090
// 12.11. Vector Widening Integer Multiply Operations
10841091

0 commit comments

Comments
 (0)