|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 02/21] target-arm: A64: add support for ld/st unsigned imm |
Date: | Thu, 19 Dec 2013 09:46:58 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 12/17/2013 07:12 AM, Peter Maydell wrote: > + if (size == 3 && opc == 2) { > + /* PRFM - prefetch */ > + return; > + } > + if (opc == 3 && size > 1) { > + unallocated_encoding(s); > + return; > + } > + is_store = (opc == 0); > + is_signed = opc & (1<<1); > + is_extended = (size < 3) && (opc & 1); I thought we'd discussed rearranging this bit of decoding to better match the ARM? In particular, opc = 2 && size = 2 should be unallocated. And please no (1<<1). r~
[Prev in Thread] | Current Thread | [Next in Thread] |