[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v5 13/14] Hexagon (target/hexagon) Reduce manipulation of slo
From: |
Taylor Simpson |
Subject: |
RE: [PATCH v5 13/14] Hexagon (target/hexagon) Reduce manipulation of slot_cancelled |
Date: |
Thu, 2 Mar 2023 04:55:57 +0000 |
> -----Original Message-----
> From: Anton Johansson <anjo@rev.ng>
> Sent: Friday, February 24, 2023 7:24 AM
> To: Taylor Simpson <tsimpson@quicinc.com>; qemu-devel@nongnu.org
> Cc: richard.henderson@linaro.org; philmd@linaro.org; ale@rev.ng; Brian Cain
> <bcain@quicinc.com>; Matheus Bernardino (QUIC)
> <quic_mathbern@quicinc.com>
> Subject: Re: [PATCH v5 13/14] Hexagon (target/hexagon) Reduce
> manipulation of slot_cancelled
>
> On 1/31/23 23:56, Taylor Simpson wrote:
> > /* Called during packet commit when there are two scalar stores */
> > -void HELPER(probe_pkt_scalar_store_s0)(CPUHexagonState *env, int
> > mmu_idx)
> > +void HELPER(probe_pkt_scalar_store_s0)(CPUHexagonState *env, int
> > +args)
> > {
> > - probe_store(env, 0, mmu_idx);
> > + int mmu_idx = args & 0x3;
> > + bool is_predicated = (args >> 2) & 1;
> > + probe_store(env, 0, mmu_idx, is_predicated);
> > }
> Can we use bitmasks for the fields of args?
OK, but better to use "hw/registerfields.h".
Thanks,
Taylor
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: [PATCH v5 13/14] Hexagon (target/hexagon) Reduce manipulation of slot_cancelled,
Taylor Simpson <=