On 31.05.2013 21:11, Richard Henderson wrote:
> On 05/31/2013 11:01 AM, Jani Kokkonen wrote:
>> +static inline void tcg_out_rev(TCGContext *s, int ext, TCGReg rd, TCGReg rm)
>> +{
>> +/* using REV 0x5ac00800 */
>> +unsigned int base = ext ? 0xdac00c00 : 0x5ac00800;
>> +tcg_out32(s, base
From: Claudio Fontana
implement the optional byte swap operations with the dedicated
aarch64 instructions.
These instructions are also needed for the tlb lookup.
Signed-off-by: Claudio Fontana
---
tcg/aarch64/tcg-target.c | 42 ++
tcg/aarch64/tcg-target.
On 05/31/2013 11:01 AM, Jani Kokkonen wrote:
> +static inline void tcg_out_rev(TCGContext *s, int ext, TCGReg rd, TCGReg rm)
> +{
> +/* using REV 0x5ac00800 */
> +unsigned int base = ext ? 0xdac00c00 : 0x5ac00800;
> +tcg_out32(s, base | rm << 5 | rd);
> +}
> +
> +static inline void tcg_