risc-v/64ilp32: revise up_fpucmp
This revises `up_fpucmp()` to add rv64ilp32 support. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
parent
0ffbff84d1
commit
3a4c2cea55
@ -57,8 +57,8 @@
|
||||
|
||||
bool up_fpucmp(const void *saveregs1, const void *saveregs2)
|
||||
{
|
||||
const uintptr_t *regs1 = saveregs1;
|
||||
const uintptr_t *regs2 = saveregs2;
|
||||
const uintreg_t *regs1 = saveregs1;
|
||||
const uintreg_t *regs2 = saveregs2;
|
||||
|
||||
return memcmp(®s1[INT_XCPT_REGS], ®s2[INT_XCPT_REGS],
|
||||
INT_REG_SIZE * FPU_XCPT_REGS) == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user