[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/55] target/arm: Implement MVE VLDR/VSTR (non-widening form
From: |
Peter Maydell |
Subject: |
Re: [PATCH 11/55] target/arm: Implement MVE VLDR/VSTR (non-widening forms) |
Date: |
Thu, 10 Jun 2021 15:01:29 +0100 |
On Tue, 8 Jun 2021 at 22:33, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> On 6/7/21 9:57 AM, Peter Maydell wrote:
> > +#define DO_VLDR(OP, ESIZE, LDTYPE, TYPE, H) \
> > + void HELPER(mve_##OP)(CPUARMState *env, void *vd, uint32_t addr) \
> > + { \
> > + TYPE *d = vd; \
> > + uint16_t mask = mve_element_mask(env); \
> > + unsigned b, e; \
>
> esize is redundant with sizeof(type); perhaps just make it a local variable?
That's OK here, but not for most of the other macros, where we need
ESIZE as a macro argument so we can do mask_to_bytemask##ESIZE.
-- PMM
- Re: [PATCH 09/55] target/arm: Implement MVE LETP insn, (continued)
- [PATCH 15/55] bitops.h: Provide hswap32(), hswap64(), wswap64() swapping operations, Peter Maydell, 2021/06/07
- [PATCH 14/55] target/arm: Implement MVE VCLS, Peter Maydell, 2021/06/07
- [PATCH 16/55] target/arm: Implement MVE VREV16, VREV32, VREV64, Peter Maydell, 2021/06/07
- [PATCH 13/55] target/arm: Implement MVE VCLZ, Peter Maydell, 2021/06/07