Commit 00128a2
authored
[RISCV] Implement Clang Builtins for XCValu Extension in CV32E40P (llvm#100684)
This commit adds the Clang Builtins, C API header and relevant tests for
XCValu extension.
Spec:
https://github.com/openhwgroup/core-v-sw/blob/master/specifications/corev-builtin-spec.md
Contributor: @melonedo, @PaoloS021 parent 75fad47 commit 00128a2
File tree
10 files changed
+1003
-74
lines changed- clang
- include/clang/Basic
- lib
- CodeGen
- Headers
- test/CodeGen/RISCV
- llvm
- include/llvm/IR
- lib/Target/RISCV
- test/CodeGen/RISCV
10 files changed
+1003
-74
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22340 | 22340 | | |
22341 | 22341 | | |
22342 | 22342 | | |
| 22343 | + | |
| 22344 | + | |
| 22345 | + | |
| 22346 | + | |
| 22347 | + | |
| 22348 | + | |
| 22349 | + | |
| 22350 | + | |
| 22351 | + | |
| 22352 | + | |
| 22353 | + | |
| 22354 | + | |
| 22355 | + | |
| 22356 | + | |
| 22357 | + | |
| 22358 | + | |
| 22359 | + | |
| 22360 | + | |
| 22361 | + | |
| 22362 | + | |
| 22363 | + | |
| 22364 | + | |
| 22365 | + | |
| 22366 | + | |
| 22367 | + | |
| 22368 | + | |
| 22369 | + | |
| 22370 | + | |
| 22371 | + | |
| 22372 | + | |
| 22373 | + | |
| 22374 | + | |
| 22375 | + | |
| 22376 | + | |
| 22377 | + | |
| 22378 | + | |
| 22379 | + | |
| 22380 | + | |
| 22381 | + | |
| 22382 | + | |
| 22383 | + | |
| 22384 | + | |
| 22385 | + | |
| 22386 | + | |
| 22387 | + | |
| 22388 | + | |
| 22389 | + | |
| 22390 | + | |
| 22391 | + | |
22343 | 22392 | | |
22344 | | - | |
| 22393 | + | |
22345 | 22394 | | |
22346 | | - | |
| 22395 | + | |
| 22396 | + | |
22347 | 22397 | | |
22348 | 22398 | | |
22349 | 22399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
0 commit comments