Skip to content

Commit 716cd92

Browse files
committed
Emit NTLH hint when NTLH enable
1 parent 4ed5f4d commit 716cd92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

riscv-c-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ The following table presents the mapping from the __builtin_prefetch function to
419419
| `__builtin_prefetch(ptr, 0, 2 /* locality */);` | `ntl.p1 + prefetch.r (ptr)` |
420420
| `__builtin_prefetch(ptr, 0, 3 /* locality */);` | `prefetch.r (ptr)` |
421421
422+
Compiler only emits the ntlh hints if the Zihintntl extension is enabled.
423+
422424
### Scalar Bit Manipulation Extension Intrinsics
423425
424426
In order to access the RISC-V scalar bit manipulation intrinsics, it is

0 commit comments

Comments
 (0)