diff options
| author | Chao-ying Fu <[email protected]> | 2025-02-25 17:47:27 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-03-28 18:52:05 +0530 |
| commit | 995f226f3f335864d2fca6254af32fa7ab0162e6 (patch) | |
| tree | 9d5ce99d29cc14595f9ea5b7d21c46c0f5199730 /lib/utils/cppc/objects.mk | |
| parent | 8fe835303c4c7d134f07002c234ec5ec637953ca (diff) | |
lib: Emit lr and sc instructions based on -march flags
When -march=rv64im_zalrsc_zicsr is used, provide atomic operations
and locks using lr and sc instructions only.
Signed-off-by: Chao-ying Fu <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cppc/objects.mk')
0 files changed, 0 insertions, 0 deletions
