Revision 564e571a target-ppc/translate.c
b/target-ppc/translate.c | ||
---|---|---|
6083 | 6083 |
/*** Altivec vector extension ***/ |
6084 | 6084 |
/* Altivec registers moves */ |
6085 | 6085 |
|
6086 |
static always_inline TCGv_ptr gen_avr_ptr(int reg) |
|
6087 |
{ |
|
6088 |
TCGv_ptr r = tcg_temp_new(); |
|
6089 |
tcg_gen_addi_ptr(r, cpu_env, offsetof(CPUPPCState, avr[reg])); |
|
6090 |
return r; |
|
6091 |
} |
|
6092 |
|
|
6086 | 6093 |
#define GEN_VR_LDX(name, opc2, opc3) \ |
6087 | 6094 |
GEN_HANDLER(name, 0x1F, opc2, opc3, 0x00000001, PPC_ALTIVEC) \ |
6088 | 6095 |
{ \ |
Also available in: Unified diff