Revision d780a466
b/target-sparc/op_helper.c | ||
---|---|---|
3240 | 3240 |
return ctpop64(val); |
3241 | 3241 |
} |
3242 | 3242 |
|
3243 |
static inline uint64_t *get_gregset(uint64_t pstate)
|
|
3243 |
static inline uint64_t *get_gregset(uint32_t pstate)
|
|
3244 | 3244 |
{ |
3245 | 3245 |
switch (pstate) { |
3246 | 3246 |
default: |
... | ... | |
3255 | 3255 |
} |
3256 | 3256 |
} |
3257 | 3257 |
|
3258 |
static inline void change_pstate(uint64_t new_pstate)
|
|
3258 |
static inline void change_pstate(uint32_t new_pstate)
|
|
3259 | 3259 |
{ |
3260 |
uint64_t pstate_regs, new_pstate_regs;
|
|
3260 |
uint32_t pstate_regs, new_pstate_regs;
|
|
3261 | 3261 |
uint64_t *src, *dst; |
3262 | 3262 |
|
3263 | 3263 |
if (env->def->features & CPU_FEATURE_GL) { |
Also available in: Unified diff