--
You received this message because you are subscribed to the Google Groups "RISC-V HW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hw-dev+un...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/646778b9-8a85-4f0c-80bc-fe5626bd128fn%40groups.riscv.org.
--
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/CAHnVyTP6nWCECpmDbm9JyJkFsu5mhSU7xc%3DgGRu2Z6PY9Qjhig%40mail.gmail.com.
Riscv-gcc generate naturally aligned address for load/store instructions (#define STRICT_ALIGNMENT 1).
And sure lb should be able to load each byte of the word, depends on the offset.
From: Zeeshan Rafique <zeeshanr...@gmail.com>
Sent: 2020年8月23日 16:13
To: Shivam Potdar <shivamp...@gmail.com>
Cc: Nick Knight <nick....@sifive.com>; RISC-V HW Dev <hw-...@groups.riscv.org>
Subject: Re: [hw-dev] implementation of lb,sb--lh,sh
External email: Use caution opening links or attachments |
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/CAHnVyTNTRSQf3eXa806CUWOSQd-EcQBusfQK0bN2ymw8C%3DHVVQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/DM5PR12MB14971736F9731D789A9780DEAD590%40DM5PR12MB1497.namprd12.prod.outlook.com.