Richard Henderson writes:
> On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
>> +#define pattern(x) (((x) & 0xff) * (~(target_ulong)0 / 0xff))
>> +
>> +static void gen_xxspltib(DisasContext *ctx)
>> +{
>> +unsigned char uim8 = IMM8(ctx->opcode);
>> +if (xS(ctx->opcode)
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define pattern(x) (((x) & 0xff) * (~(target_ulong)0 / 0xff))
+
+static void gen_xxspltib(DisasContext *ctx)
+{
+unsigned char uim8 = IMM8(ctx->opcode);
+if (xS(ctx->opcode) < 32) {
+if (unlikely(!ctx->altivec_enabled)) {
+
xxspltib: VSX Vector Splat Immediate Byte
Copy the immediate byte in each byte of target VSR
Signed-off-by: Nikunj A Dadhania
---
target-ppc/translate.c | 2 ++
target-ppc/translate/vsx-impl.inc.c | 20