On Fri, 22 Mar 2019 04:28:03 +0900,
Richard Henderson wrote:
>
> On 3/20/19 7:16 AM, Yoshinori Sato wrote:
> > +#define FPSW_MASK 0xfc007cff
> > +#define FPSW_RM_MASK 0x0003
> > +#define FPSW_DN (1 << 8)
>
> It's slightly confusing to have this as a mask,
>
> > +#define FPSW_CAUSE_MASK 0x000
On 3/20/19 7:16 AM, Yoshinori Sato wrote:
> +#define FPSW_MASK 0xfc007cff
> +#define FPSW_RM_MASK 0x0003
> +#define FPSW_DN (1 << 8)
It's slightly confusing to have this as a mask,
> +#define FPSW_CAUSE_MASK 0x00fc
> +#define FPSW_CAUSE_SHIFT 2
> +#define FPSW_CAUSE 2
> +#define FPSW_CA
Signed-off-by: Yoshinori Sato
---
target/rx/cpu-qom.h | 52
target/rx/cpu.h | 201 ++
target/rx/cpu.c | 225
3 files changed, 478 insertions(+)
create mode 100644 target/rx/cpu-