[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v1 2/3] target-ppc: add vrldnmi and vrlwmi instruc
From: |
Richard Henderson |
Subject: |
Re: [Qemu-ppc] [PATCH v1 2/3] target-ppc: add vrldnmi and vrlwmi instructions |
Date: |
Tue, 25 Oct 2016 10:02:44 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 10/24/2016 11:19 PM, Nikunj A Dadhania wrote:
> + begin = extract##size(src2, size - begin_last - 1, num_bits); \
> + end = extract##size(src2, size - end_last - 1, num_bits); \
> + shift = extract##size(src2, size - shift_last - 1, num_bits); \
What I mean is
shift = extract##size(src2, 0, 6);
end = extract##size(src2, 8, 6);
begin = extract##size(src2, 16, 6);
The values are at the *same* position for both instructions. There's no need
to parameterize with silly bigendian numberings.
r~
- [Qemu-ppc] [PATCH v1 0/3] POWER9 TCG enablements - part7, Nikunj A Dadhania, 2016/10/25
- [Qemu-ppc] [PATCH v1 1/3] target-ppc: add xscmp[eq, gt, ge, ne]dp instructions, Nikunj A Dadhania, 2016/10/25
- [Qemu-ppc] [PATCH v1 2/3] target-ppc: add vrldnmi and vrlwmi instructions, Nikunj A Dadhania, 2016/10/25
- Re: [Qemu-ppc] [PATCH v1 2/3] target-ppc: add vrldnmi and vrlwmi instructions,
Richard Henderson <=
- [Qemu-ppc] [PATCH v1 3/3] target-ppc: add vrldnm and vrlwnm instructions, Nikunj A Dadhania, 2016/10/25