diff options
author | Anup Patel <Anup.Patel@wdc.com> | 2019-07-25 05:05:03 +0000 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-07-26 15:49:49 +0530 |
commit | 0f18b3fe0adda745b3ac80f7b79ce2b8512e2e95 (patch) | |
tree | d0150cb3b9a353f89985cec24b340c0058a9812a /firmware | |
parent | 85546a5477d470ab84922b3bc28debe127a47f05 (diff) |
lib: Allow compiling without FP support
Currently, we mandate 'F' and 'D' extension in riscv_fp.h so that
misaligned load/store emulation has access to FP registers.
The above is too restrictive and we should certainly allow compilation
for soft-FP toolchains and explicit PLATFORM_RISCV_ISA not having 'F'
and 'D' extensions.
This patch extends riscv_fp.h and misaligned load/store emulation to
allow compiling OpenSBI without FP support.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions