< prev index next >

src/cpu/aarch64/vm/macroAssembler_aarch64.cpp

Print this page




2221       tty->print_cr("r18 = 0x%016lx", regs[18]);
2222       tty->print_cr("r19 = 0x%016lx", regs[19]);
2223       tty->print_cr("r20 = 0x%016lx", regs[20]);
2224       tty->print_cr("r21 = 0x%016lx", regs[21]);
2225       tty->print_cr("r22 = 0x%016lx", regs[22]);
2226       tty->print_cr("r23 = 0x%016lx", regs[23]);
2227       tty->print_cr("r24 = 0x%016lx", regs[24]);
2228       tty->print_cr("r25 = 0x%016lx", regs[25]);
2229       tty->print_cr("r26 = 0x%016lx", regs[26]);
2230       tty->print_cr("r27 = 0x%016lx", regs[27]);
2231       tty->print_cr("r28 = 0x%016lx", regs[28]);
2232       tty->print_cr("r30 = 0x%016lx", regs[30]);
2233       tty->print_cr("r31 = 0x%016lx", regs[31]);
2234       BREAKPOINT;
2235     }
2236     ThreadStateTransition::transition(thread, _thread_in_vm, saved_state);
2237   } else {
2238     ttyLocker ttyl;
2239     ::tty->print_cr("=============== DEBUG MESSAGE: %s ================\n",
2240                     msg);
2241     assert(false, err_msg("DEBUG MESSAGE: %s", msg));
2242   }
2243 }
2244 
2245 #ifdef BUILTIN_SIM
2246 // routine to generate an x86 prolog for a stub function which
2247 // bootstraps into the generated ARM code which directly follows the
2248 // stub
2249 //
2250 // the argument encodes the number of general and fp registers
2251 // passed by the caller and the callng convention (currently just
2252 // the number of general registers and assumes C argument passing)
2253 
2254 extern "C" {
2255 int aarch64_stub_prolog_size();
2256 void aarch64_stub_prolog();
2257 void aarch64_prolog();
2258 }
2259 
2260 void MacroAssembler::c_stub_prolog(int gp_arg_count, int fp_arg_count, int ret_type,
2261                                    address *prolog_ptr)




2221       tty->print_cr("r18 = 0x%016lx", regs[18]);
2222       tty->print_cr("r19 = 0x%016lx", regs[19]);
2223       tty->print_cr("r20 = 0x%016lx", regs[20]);
2224       tty->print_cr("r21 = 0x%016lx", regs[21]);
2225       tty->print_cr("r22 = 0x%016lx", regs[22]);
2226       tty->print_cr("r23 = 0x%016lx", regs[23]);
2227       tty->print_cr("r24 = 0x%016lx", regs[24]);
2228       tty->print_cr("r25 = 0x%016lx", regs[25]);
2229       tty->print_cr("r26 = 0x%016lx", regs[26]);
2230       tty->print_cr("r27 = 0x%016lx", regs[27]);
2231       tty->print_cr("r28 = 0x%016lx", regs[28]);
2232       tty->print_cr("r30 = 0x%016lx", regs[30]);
2233       tty->print_cr("r31 = 0x%016lx", regs[31]);
2234       BREAKPOINT;
2235     }
2236     ThreadStateTransition::transition(thread, _thread_in_vm, saved_state);
2237   } else {
2238     ttyLocker ttyl;
2239     ::tty->print_cr("=============== DEBUG MESSAGE: %s ================\n",
2240                     msg);
2241     assert(false, "DEBUG MESSAGE: %s", msg);
2242   }
2243 }
2244 
2245 #ifdef BUILTIN_SIM
2246 // routine to generate an x86 prolog for a stub function which
2247 // bootstraps into the generated ARM code which directly follows the
2248 // stub
2249 //
2250 // the argument encodes the number of general and fp registers
2251 // passed by the caller and the callng convention (currently just
2252 // the number of general registers and assumes C argument passing)
2253 
2254 extern "C" {
2255 int aarch64_stub_prolog_size();
2256 void aarch64_stub_prolog();
2257 void aarch64_prolog();
2258 }
2259 
2260 void MacroAssembler::c_stub_prolog(int gp_arg_count, int fp_arg_count, int ret_type,
2261                                    address *prolog_ptr)


< prev index next >