On Mon, 28 Jan 2019 19:11:58 PST (-0800), Jim Wilson wrote:
On Tue, Jan 22, 2019 at 1:52 PM Alistair Francis wrote:
You can get env and then check for floating point support:
CPURISCVState *env = &cs->env;
if (env->misa_mask & RVF) {
...
I needed this which wasn't hard to figure out.
RIS
On Tue, Jan 22, 2019 at 1:52 PM Alistair Francis wrote:
> You can get env and then check for floating point support:
>
> CPURISCVState *env = &cs->env;
> if (env->misa_mask & RVF) {
> ...
I needed this which wasn't hard to figure out.
RISCVCPU *cpu = RISCV_CPU(cs);
CPURISCVState *env = &c
On Fri, Dec 28, 2018 at 2:20 PM Jim Wilson wrote:
>
> Signed-off-by: Jim Wilson
> ---
> target/riscv/cpu.c | 9 ++-
> target/riscv/gdbstub.c | 73
> --
> 2 files changed, 73 insertions(+), 9 deletions(-)
>
> diff --git a/target/riscv/cpu.
Signed-off-by: Jim Wilson
---
target/riscv/cpu.c | 9 ++-
target/riscv/gdbstub.c | 73 --
2 files changed, 73 insertions(+), 9 deletions(-)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index a025a0a..b248e3e 100644
--- a/target/ris