Re: [PATCH v4 07/12] target/arm: Replace MTEDESC ESIZE+TSIZE with SIZEM1

2021-04-08 Thread Alex Bennée
Richard Henderson writes: > After recent changes, mte_checkN does not use ESIZE, > and mte_check1 never used TSIZE. We can combine the > two into a single field: SIZEM1. > > Choose to pass size - 1 because size == 0 is never used, > our immediate need in mte_probe_int is for the address > of t

[PATCH v4 07/12] target/arm: Replace MTEDESC ESIZE+TSIZE with SIZEM1

2021-04-06 Thread Richard Henderson
After recent changes, mte_checkN does not use ESIZE, and mte_check1 never used TSIZE. We can combine the two into a single field: SIZEM1. Choose to pass size - 1 because size == 0 is never used, our immediate need in mte_probe_int is for the address of the last byte (ptr + size - 1), and since al