[all-commits] [llvm/llvm-project] 7fc349: [compiler-rt][RISCV] Use u64 data type for marchid...
Yangyu Chen via All-commits
all-commits at lists.llvm.org
Mon Oct 14 01:23:23 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7fc3491c045bf6acb9c904a5da95bbac66ad487f
https://github.com/llvm/llvm-project/commit/7fc3491c045bf6acb9c904a5da95bbac66ad487f
Author: Yangyu Chen <cyy at cyyself.name>
Date: 2024-10-14 (Mon, 14 Oct 2024)
Changed paths:
M compiler-rt/lib/builtins/cpu_model/riscv.c
Log Message:
-----------
[compiler-rt][RISCV] Use u64 data type for marchid and mimpid (#112163)
Base on https://github.com/riscv-non-isa/riscv-c-api-doc/pull/91 , the
marchid and mimpid are MXLEN bits wide, and kernel returned them as u64
data type. So we should use u64 data type for marchid and mimpid in
__riscv_cpu_model struct here.
Signed-off-by: Yangyu Chen <cyy at cyyself.name>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list