File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -261,43 +261,14 @@ struct PPCFPSCRRegister
261261
262262struct PPCContext
263263{
264- uint8_t * fn;
265-
266- #ifndef PPC_CONFIG_SKIP_LR
267- uint64_t lr;
268- #endif
269- #ifndef PPC_CONFIG_CTR_AS_LOCAL
270- PPCRegister ctr;
271- #endif
272- #ifndef PPC_CONFIG_XER_AS_LOCAL
273- PPCXERRegister xer;
274- #endif
275- #ifndef PPC_CONFIG_RESERVED_AS_LOCAL
276- PPCRegister reserved;
277- #endif
278- #ifndef PPC_CONFIG_SKIP_MSR
279- uint32_t msr = 0x200A000 ;
280- #endif
281-
282- #ifndef PPC_CONFIG_CR_AS_LOCAL
283- PPCCRRegister cr0;
284- PPCCRRegister cr1;
285- PPCCRRegister cr2;
286- PPCCRRegister cr3;
287- PPCCRRegister cr4;
288- PPCCRRegister cr5;
289- PPCCRRegister cr6;
290- PPCCRRegister cr7;
291- #endif
292-
264+ PPCRegister r3;
293265#ifndef PPC_CONFIG_NON_ARGUMENT_AS_LOCAL
294266 PPCRegister r0;
295267#endif
296268 PPCRegister r1;
297269#ifndef PPC_CONFIG_NON_ARGUMENT_AS_LOCAL
298270 PPCRegister r2;
299271#endif
300- PPCRegister r3;
301272 PPCRegister r4;
302273 PPCRegister r5;
303274 PPCRegister r6;
@@ -331,6 +302,32 @@ struct PPCContext
331302 PPCRegister r31;
332303#endif
333304
305+ uint8_t * fn;
306+ #ifndef PPC_CONFIG_SKIP_LR
307+ uint64_t lr;
308+ #endif
309+ #ifndef PPC_CONFIG_CTR_AS_LOCAL
310+ PPCRegister ctr;
311+ #endif
312+ #ifndef PPC_CONFIG_XER_AS_LOCAL
313+ PPCXERRegister xer;
314+ #endif
315+ #ifndef PPC_CONFIG_RESERVED_AS_LOCAL
316+ PPCRegister reserved;
317+ #endif
318+ #ifndef PPC_CONFIG_SKIP_MSR
319+ uint32_t msr = 0x200A000 ;
320+ #endif
321+ #ifndef PPC_CONFIG_CR_AS_LOCAL
322+ PPCCRRegister cr0;
323+ PPCCRRegister cr1;
324+ PPCCRRegister cr2;
325+ PPCCRRegister cr3;
326+ PPCCRRegister cr4;
327+ PPCCRRegister cr5;
328+ PPCCRRegister cr6;
329+ PPCCRRegister cr7;
330+ #endif
334331 PPCFPSCRRegister fpscr;
335332
336333#ifndef PPC_CONFIG_NON_ARGUMENT_AS_LOCAL
You can’t perform that action at this time.
0 commit comments