Lines Matching +full:lower +full:- +full:case

4  * Copyright (c) 2003-2005 Fabrice Bellard
36 return gdb_get_rega(mem_buf, env->gregs[n]); in sparc_cpu_gdb_read_register()
40 return gdb_get_rega(mem_buf, env->regwptr[n - 8]); in sparc_cpu_gdb_read_register()
46 return gdb_get_reg32(mem_buf, env->fpr[(n - 32) / 2].l.lower); in sparc_cpu_gdb_read_register()
48 return gdb_get_reg32(mem_buf, env->fpr[(n - 32) / 2].l.upper); in sparc_cpu_gdb_read_register()
53 case 64: in sparc_cpu_gdb_read_register()
54 return gdb_get_rega(mem_buf, env->y); in sparc_cpu_gdb_read_register()
55 case 65: in sparc_cpu_gdb_read_register()
57 case 66: in sparc_cpu_gdb_read_register()
58 return gdb_get_rega(mem_buf, env->wim); in sparc_cpu_gdb_read_register()
59 case 67: in sparc_cpu_gdb_read_register()
60 return gdb_get_rega(mem_buf, env->tbr); in sparc_cpu_gdb_read_register()
61 case 68: in sparc_cpu_gdb_read_register()
62 return gdb_get_rega(mem_buf, env->pc); in sparc_cpu_gdb_read_register()
63 case 69: in sparc_cpu_gdb_read_register()
64 return gdb_get_rega(mem_buf, env->npc); in sparc_cpu_gdb_read_register()
65 case 70: in sparc_cpu_gdb_read_register()
67 case 71: in sparc_cpu_gdb_read_register()
74 /* f0-f31 */ in sparc_cpu_gdb_read_register()
76 return gdb_get_reg32(mem_buf, env->fpr[(n - 32) / 2].l.lower); in sparc_cpu_gdb_read_register()
78 return gdb_get_reg32(mem_buf, env->fpr[(n - 32) / 2].l.upper); in sparc_cpu_gdb_read_register()
82 /* f32-f62 (double width, even numbers only) */ in sparc_cpu_gdb_read_register()
83 return gdb_get_reg64(mem_buf, env->fpr[(n - 32) / 2].ll); in sparc_cpu_gdb_read_register()
86 case 80: in sparc_cpu_gdb_read_register()
87 return gdb_get_regl(mem_buf, env->pc); in sparc_cpu_gdb_read_register()
88 case 81: in sparc_cpu_gdb_read_register()
89 return gdb_get_regl(mem_buf, env->npc); in sparc_cpu_gdb_read_register()
90 case 82: in sparc_cpu_gdb_read_register()
92 ((env->asi & 0xff) << 24) | in sparc_cpu_gdb_read_register()
93 ((env->pstate & 0xfff) << 8) | in sparc_cpu_gdb_read_register()
95 case 83: in sparc_cpu_gdb_read_register()
97 case 84: in sparc_cpu_gdb_read_register()
98 return gdb_get_regl(mem_buf, env->fprs); in sparc_cpu_gdb_read_register()
99 case 85: in sparc_cpu_gdb_read_register()
100 return gdb_get_regl(mem_buf, env->y); in sparc_cpu_gdb_read_register()
109 CPUSPARCState *env = &cpu->env; in sparc_cpu_gdb_write_register()
122 env->gregs[n] = tmp; in sparc_cpu_gdb_write_register()
125 env->regwptr[n - 8] = tmp; in sparc_cpu_gdb_write_register()
130 /* f0-f31 */ in sparc_cpu_gdb_write_register()
132 env->fpr[(n - 32) / 2].l.lower = tmp; in sparc_cpu_gdb_write_register()
134 env->fpr[(n - 32) / 2].l.upper = tmp; in sparc_cpu_gdb_write_register()
139 case 64: in sparc_cpu_gdb_write_register()
140 env->y = tmp; in sparc_cpu_gdb_write_register()
142 case 65: in sparc_cpu_gdb_write_register()
145 case 66: in sparc_cpu_gdb_write_register()
146 env->wim = tmp; in sparc_cpu_gdb_write_register()
148 case 67: in sparc_cpu_gdb_write_register()
149 env->tbr = tmp; in sparc_cpu_gdb_write_register()
151 case 68: in sparc_cpu_gdb_write_register()
152 env->pc = tmp; in sparc_cpu_gdb_write_register()
154 case 69: in sparc_cpu_gdb_write_register()
155 env->npc = tmp; in sparc_cpu_gdb_write_register()
157 case 70: in sparc_cpu_gdb_write_register()
167 /* f0-f31 */ in sparc_cpu_gdb_write_register()
170 env->fpr[(n - 32) / 2].l.lower = tmp; in sparc_cpu_gdb_write_register()
172 env->fpr[(n - 32) / 2].l.upper = tmp; in sparc_cpu_gdb_write_register()
176 /* f32-f62 (double width, even numbers only) */ in sparc_cpu_gdb_write_register()
177 env->fpr[(n - 32) / 2].ll = tmp; in sparc_cpu_gdb_write_register()
180 case 80: in sparc_cpu_gdb_write_register()
181 env->pc = tmp; in sparc_cpu_gdb_write_register()
183 case 81: in sparc_cpu_gdb_write_register()
184 env->npc = tmp; in sparc_cpu_gdb_write_register()
186 case 82: in sparc_cpu_gdb_write_register()
188 env->asi = (tmp >> 24) & 0xff; in sparc_cpu_gdb_write_register()
189 env->pstate = (tmp >> 8) & 0xfff; in sparc_cpu_gdb_write_register()
192 case 83: in sparc_cpu_gdb_write_register()
195 case 84: in sparc_cpu_gdb_write_register()
196 env->fprs = tmp; in sparc_cpu_gdb_write_register()
198 case 85: in sparc_cpu_gdb_write_register()
199 env->y = tmp; in sparc_cpu_gdb_write_register()