comparison dyncallback/dyncall_args_mips.h @ 109:9e677d4c0b6b

- mips comment cleanups - mips callback args prep for non-o32
author cslag
date Sat, 11 Jun 2016 21:44:38 +0200
parents dbca6763f2be
children 9aa75a74614c
comparison
equal deleted inserted replaced
108:bf8aef292216 109:9e677d4c0b6b
31 31
32 struct DCArgs 32 struct DCArgs
33 { 33 {
34 /* Don't change order! */ 34 /* Don't change order! */
35 #if defined(DC__ABI_MIPS_O32) 35 #if defined(DC__ABI_MIPS_O32)
36 int freg_count; 36 DCint freg_count;
37 #else 37 #else
38 # define DCARGS_MIPS_PARAM_REGS 8 38 # define DCARGS_MIPS_NUM_IREGS 8
39 struct { int i; float f; } reg_data[DCARGS_MIPS_PARAM_REGS]; 39 # define DCARGS_MIPS_NUM_FREGS 8
40 struct { int i; int f; } reg_count; 40 DCint ireg_data[DCARGS_MIPS_NUM_IREGS];
41 DCfloat freg_data[DCARGS_MIPS_NUM_FREGS];
42 struct { DCshort i; DCshort f; } reg_count;
41 #endif 43 #endif
42 unsigned char* stackptr; 44 unsigned DCchar* stackptr;
43 }; 45 };
44 46
45 #endif /* DYNCALLBACK_ARGS_MIPS_H */ 47 #endif /* DYNCALLBACK_ARGS_MIPS_H */
46 48