projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'lp-offset-twoside'
[mesa.git]
/
src
/
gallium
/
auxiliary
/
rtasm
/
rtasm_ppc.c
diff --git
a/src/gallium/auxiliary/rtasm/rtasm_ppc.c
b/src/gallium/auxiliary/rtasm/rtasm_ppc.c
index e3586482db4800c380b30c8d2452ddb55ddc9569..330838d23cf1ec4f337458cb7c924708d5aafa64 100644
(file)
--- a/
src/gallium/auxiliary/rtasm/rtasm_ppc.c
+++ b/
src/gallium/auxiliary/rtasm/rtasm_ppc.c
@@
-97,7
+97,7
@@
void (*ppc_get_func(struct ppc_function *p))(void)
return (void (*)(void)) NULL;
else
#endif
return (void (*)(void)) NULL;
else
#endif
- return (void (*)(void)) p
->store
;
+ return (void (*)(void)) p
ointer_to_func(p->store)
;
}
}
@@
-168,7
+168,7
@@
ppc_allocate_register(struct ppc_function *p)
{
unsigned i;
for (i = 0; i < PPC_NUM_REGS; i++) {
{
unsigned i;
for (i = 0; i < PPC_NUM_REGS; i++) {
- const uint
64
_t mask = 1 << i;
+ const uint
32
_t mask = 1 << i;
if ((p->reg_used & mask) == 0) {
p->reg_used |= mask;
return i;
if ((p->reg_used & mask) == 0) {
p->reg_used |= mask;
return i;
@@
-200,7
+200,7
@@
ppc_allocate_fp_register(struct ppc_function *p)
{
unsigned i;
for (i = 0; i < PPC_NUM_FP_REGS; i++) {
{
unsigned i;
for (i = 0; i < PPC_NUM_FP_REGS; i++) {
- const uint
64
_t mask = 1 << i;
+ const uint
32
_t mask = 1 << i;
if ((p->fp_used & mask) == 0) {
p->fp_used |= mask;
return i;
if ((p->fp_used & mask) == 0) {
p->fp_used |= mask;
return i;
@@
-232,7
+232,7
@@
ppc_allocate_vec_register(struct ppc_function *p)
{
unsigned i;
for (i = 0; i < PPC_NUM_VEC_REGS; i++) {
{
unsigned i;
for (i = 0; i < PPC_NUM_VEC_REGS; i++) {
- const uint
64
_t mask = 1 << i;
+ const uint
32
_t mask = 1 << i;
if ((p->vec_used & mask) == 0) {
p->vec_used |= mask;
return i;
if ((p->vec_used & mask) == 0) {
p->vec_used |= mask;
return i;