RISC-V double float alignment
Hesham Almatary
hesham.almatary at cl.cam.ac.uk
Sat Feb 2 11:23:26 UTC 2019
Thanks, Sebastian. Regarding save/restore, I don't think we need to
fix anything else. There are already checks to make
sure unaligned accesses don't happen. The compiler properly aligns FPU
context for us.
On Sat, 2 Feb 2019 at 10:45, Jiri Gaisler <jiri at gaisler.se> wrote:
>
> On 2/2/19 11:07 AM, Sebastian Huber wrote:
> > Hello,
> >
> > yes, we should avoid misaligned access in RTEMS. Does this commit fix your problem?
> >
> > https://git.rtems.org/rtems/commit/?id=9399473cb83985fd222e299e4581a232f5d35028
>
> Yes, this is exactly the patch I was about to post myself! Thanks..!
>
> To clarify for others: the unaligned problem was in context validate,
> not context save/restore.
>
>
More information about the devel
mailing list