Revision bdfbac35 target-ppc/op_helper.c
b/target-ppc/op_helper.c | ||
---|---|---|
2664 | 2664 |
#undef VPK |
2665 | 2665 |
#undef PKBIG |
2666 | 2666 |
|
2667 |
void helper_vrefp (ppc_avr_t *r, ppc_avr_t *b) |
|
2668 |
{ |
|
2669 |
int i; |
|
2670 |
for (i = 0; i < ARRAY_SIZE(r->f); i++) { |
|
2671 |
HANDLE_NAN1(r->f[i], b->f[i]) { |
|
2672 |
r->f[i] = float32_div(float32_one, b->f[i], &env->vec_status); |
|
2673 |
} |
|
2674 |
} |
|
2675 |
} |
|
2676 |
|
|
2667 | 2677 |
#define VRFI(suffix, rounding) \ |
2668 | 2678 |
void helper_vrfi##suffix (ppc_avr_t *r, ppc_avr_t *b) \ |
2669 | 2679 |
{ \ |
Also available in: Unified diff