Richard Henderson | 55fddd6 | 2012-03-24 09:51:15 -0700 | [diff] [blame] | 1 | DEF_HELPER_3(excp, noreturn, env, int, int) |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 2 | DEF_HELPER_FLAGS_1(load_pcc, TCG_CALL_NO_RWG_SE, i64, env) |
aurel32 | ae8ecd4 | 2008-09-16 22:44:02 +0000 | [diff] [blame] | 3 | |
Richard Henderson | 4d1628e | 2014-07-03 13:18:26 -0700 | [diff] [blame] | 4 | DEF_HELPER_FLAGS_3(check_overflow, TCG_CALL_NO_WG, void, env, i64, i64) |
aurel32 | 04acd30 | 2008-09-18 13:45:14 +0000 | [diff] [blame] | 5 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 6 | DEF_HELPER_FLAGS_1(ctpop, TCG_CALL_NO_RWG_SE, i64, i64) |
| 7 | DEF_HELPER_FLAGS_1(ctlz, TCG_CALL_NO_RWG_SE, i64, i64) |
| 8 | DEF_HELPER_FLAGS_1(cttz, TCG_CALL_NO_RWG_SE, i64, i64) |
aurel32 | b3249f6 | 2008-09-17 22:04:52 +0000 | [diff] [blame] | 9 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 10 | DEF_HELPER_FLAGS_2(zap, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 11 | DEF_HELPER_FLAGS_2(zapnot, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
aurel32 | b3249f6 | 2008-09-17 22:04:52 +0000 | [diff] [blame] | 12 | |
Richard Henderson | 112e451 | 2015-08-05 11:04:11 -0700 | [diff] [blame] | 13 | DEF_HELPER_FLAGS_1(cmpbe0, TCG_CALL_NO_RWG_SE, i64, i64) |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 14 | DEF_HELPER_FLAGS_2(cmpbge, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
aurel32 | f18cd22 | 2008-09-29 17:21:28 +0000 | [diff] [blame] | 15 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 16 | DEF_HELPER_FLAGS_2(minub8, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 17 | DEF_HELPER_FLAGS_2(minsb8, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 18 | DEF_HELPER_FLAGS_2(minuw4, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 19 | DEF_HELPER_FLAGS_2(minsw4, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 20 | DEF_HELPER_FLAGS_2(maxub8, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 21 | DEF_HELPER_FLAGS_2(maxsb8, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 22 | DEF_HELPER_FLAGS_2(maxuw4, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 23 | DEF_HELPER_FLAGS_2(maxsw4, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 24 | DEF_HELPER_FLAGS_2(perr, TCG_CALL_NO_RWG_SE, i64, i64, i64) |
| 25 | DEF_HELPER_FLAGS_1(pklb, TCG_CALL_NO_RWG_SE, i64, i64) |
| 26 | DEF_HELPER_FLAGS_1(pkwb, TCG_CALL_NO_RWG_SE, i64, i64) |
| 27 | DEF_HELPER_FLAGS_1(unpkbl, TCG_CALL_NO_RWG_SE, i64, i64) |
| 28 | DEF_HELPER_FLAGS_1(unpkbw, TCG_CALL_NO_RWG_SE, i64, i64) |
Richard Henderson | 13e4df9 | 2009-12-10 12:04:42 -0800 | [diff] [blame] | 29 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 30 | DEF_HELPER_FLAGS_1(load_fpcr, TCG_CALL_NO_RWG_SE, i64, env) |
| 31 | DEF_HELPER_FLAGS_2(store_fpcr, TCG_CALL_NO_RWG, void, env, i64) |
aurel32 | f18cd22 | 2008-09-29 17:21:28 +0000 | [diff] [blame] | 32 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 33 | DEF_HELPER_FLAGS_1(f_to_memory, TCG_CALL_NO_RWG_SE, i32, i64) |
| 34 | DEF_HELPER_FLAGS_1(memory_to_f, TCG_CALL_NO_RWG_SE, i64, i32) |
| 35 | DEF_HELPER_FLAGS_3(addf, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 36 | DEF_HELPER_FLAGS_3(subf, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 37 | DEF_HELPER_FLAGS_3(mulf, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 38 | DEF_HELPER_FLAGS_3(divf, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 39 | DEF_HELPER_FLAGS_2(sqrtf, TCG_CALL_NO_RWG, i64, env, i64) |
aurel32 | f18cd22 | 2008-09-29 17:21:28 +0000 | [diff] [blame] | 40 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 41 | DEF_HELPER_FLAGS_1(g_to_memory, TCG_CALL_NO_RWG_SE, i64, i64) |
| 42 | DEF_HELPER_FLAGS_1(memory_to_g, TCG_CALL_NO_RWG_SE, i64, i64) |
| 43 | DEF_HELPER_FLAGS_3(addg, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 44 | DEF_HELPER_FLAGS_3(subg, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 45 | DEF_HELPER_FLAGS_3(mulg, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 46 | DEF_HELPER_FLAGS_3(divg, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 47 | DEF_HELPER_FLAGS_2(sqrtg, TCG_CALL_NO_RWG, i64, env, i64) |
aurel32 | f18cd22 | 2008-09-29 17:21:28 +0000 | [diff] [blame] | 48 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 49 | DEF_HELPER_FLAGS_1(s_to_memory, TCG_CALL_NO_RWG_SE, i32, i64) |
| 50 | DEF_HELPER_FLAGS_1(memory_to_s, TCG_CALL_NO_RWG_SE, i64, i32) |
| 51 | DEF_HELPER_FLAGS_3(adds, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 52 | DEF_HELPER_FLAGS_3(subs, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 53 | DEF_HELPER_FLAGS_3(muls, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 54 | DEF_HELPER_FLAGS_3(divs, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 55 | DEF_HELPER_FLAGS_2(sqrts, TCG_CALL_NO_RWG, i64, env, i64) |
aurel32 | f18cd22 | 2008-09-29 17:21:28 +0000 | [diff] [blame] | 56 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 57 | DEF_HELPER_FLAGS_3(addt, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 58 | DEF_HELPER_FLAGS_3(subt, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 59 | DEF_HELPER_FLAGS_3(mult, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 60 | DEF_HELPER_FLAGS_3(divt, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 61 | DEF_HELPER_FLAGS_2(sqrtt, TCG_CALL_NO_RWG, i64, env, i64) |
aurel32 | f18cd22 | 2008-09-29 17:21:28 +0000 | [diff] [blame] | 62 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 63 | DEF_HELPER_FLAGS_3(cmptun, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 64 | DEF_HELPER_FLAGS_3(cmpteq, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 65 | DEF_HELPER_FLAGS_3(cmptle, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 66 | DEF_HELPER_FLAGS_3(cmptlt, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 67 | DEF_HELPER_FLAGS_3(cmpgeq, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 68 | DEF_HELPER_FLAGS_3(cmpgle, TCG_CALL_NO_RWG, i64, env, i64, i64) |
| 69 | DEF_HELPER_FLAGS_3(cmpglt, TCG_CALL_NO_RWG, i64, env, i64, i64) |
aurel32 | f18cd22 | 2008-09-29 17:21:28 +0000 | [diff] [blame] | 70 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 71 | DEF_HELPER_FLAGS_2(cvtts, TCG_CALL_NO_RWG, i64, env, i64) |
| 72 | DEF_HELPER_FLAGS_2(cvtst, TCG_CALL_NO_RWG, i64, env, i64) |
| 73 | DEF_HELPER_FLAGS_2(cvtqs, TCG_CALL_NO_RWG, i64, env, i64) |
| 74 | DEF_HELPER_FLAGS_2(cvtqt, TCG_CALL_NO_RWG, i64, env, i64) |
| 75 | DEF_HELPER_FLAGS_2(cvtqf, TCG_CALL_NO_RWG, i64, env, i64) |
| 76 | DEF_HELPER_FLAGS_2(cvtgf, TCG_CALL_NO_RWG, i64, env, i64) |
| 77 | DEF_HELPER_FLAGS_2(cvtgq, TCG_CALL_NO_RWG, i64, env, i64) |
| 78 | DEF_HELPER_FLAGS_2(cvtqg, TCG_CALL_NO_RWG, i64, env, i64) |
Richard Henderson | f24518b | 2010-01-04 14:27:23 -0800 | [diff] [blame] | 79 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 80 | DEF_HELPER_FLAGS_2(cvttq, TCG_CALL_NO_RWG, i64, env, i64) |
| 81 | DEF_HELPER_FLAGS_2(cvttq_c, TCG_CALL_NO_RWG, i64, env, i64) |
Richard Henderson | f24518b | 2010-01-04 14:27:23 -0800 | [diff] [blame] | 82 | |
Richard Henderson | 57a808b | 2014-07-08 10:42:55 -0700 | [diff] [blame] | 83 | DEF_HELPER_FLAGS_2(cvtql, TCG_CALL_NO_RWG, i64, env, i64) |
| 84 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 85 | DEF_HELPER_FLAGS_2(setroundmode, TCG_CALL_NO_RWG, void, env, i32) |
| 86 | DEF_HELPER_FLAGS_2(setflushzero, TCG_CALL_NO_RWG, void, env, i32) |
Richard Henderson | e1e1b25 | 2012-10-31 10:30:55 +1100 | [diff] [blame] | 87 | DEF_HELPER_FLAGS_3(fp_exc_raise, TCG_CALL_NO_WG, void, env, i32, i32) |
| 88 | DEF_HELPER_FLAGS_3(fp_exc_raise_s, TCG_CALL_NO_WG, void, env, i32, i32) |
Richard Henderson | f24518b | 2010-01-04 14:27:23 -0800 | [diff] [blame] | 89 | |
Richard Henderson | e1e1b25 | 2012-10-31 10:30:55 +1100 | [diff] [blame] | 90 | DEF_HELPER_FLAGS_2(ieee_input, TCG_CALL_NO_WG, void, env, i64) |
| 91 | DEF_HELPER_FLAGS_2(ieee_input_cmp, TCG_CALL_NO_WG, void, env, i64) |
Richard Henderson | b99e806 | 2014-07-08 10:11:06 -0700 | [diff] [blame] | 92 | DEF_HELPER_FLAGS_2(ieee_input_s, TCG_CALL_NO_WG, void, env, i64) |
aurel32 | f18cd22 | 2008-09-29 17:21:28 +0000 | [diff] [blame] | 93 | |
aurel32 | 8bb6e98 | 2008-09-30 06:45:44 +0000 | [diff] [blame] | 94 | #if !defined (CONFIG_USER_ONLY) |
Edgar E. Iglesias | fdfba1a | 2013-11-15 14:46:38 +0100 | [diff] [blame] | 95 | DEF_HELPER_2(ldl_phys, i64, env, i64) |
Edgar E. Iglesias | 2c17449 | 2013-12-17 14:05:40 +1000 | [diff] [blame] | 96 | DEF_HELPER_2(ldq_phys, i64, env, i64) |
Richard Henderson | c308275 | 2012-03-24 09:51:13 -0700 | [diff] [blame] | 97 | DEF_HELPER_2(ldl_l_phys, i64, env, i64) |
| 98 | DEF_HELPER_2(ldq_l_phys, i64, env, i64) |
Edgar E. Iglesias | ab1da85 | 2013-12-17 15:07:29 +1000 | [diff] [blame] | 99 | DEF_HELPER_3(stl_phys, void, env, i64, i64) |
Edgar E. Iglesias | f606604 | 2013-11-28 00:11:44 +0100 | [diff] [blame] | 100 | DEF_HELPER_3(stq_phys, void, env, i64, i64) |
Richard Henderson | c308275 | 2012-03-24 09:51:13 -0700 | [diff] [blame] | 101 | DEF_HELPER_3(stl_c_phys, i64, env, i64, i64) |
| 102 | DEF_HELPER_3(stq_c_phys, i64, env, i64, i64) |
Richard Henderson | 3b4fefd | 2011-04-18 20:01:20 -0700 | [diff] [blame] | 103 | |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 104 | DEF_HELPER_FLAGS_1(tbia, TCG_CALL_NO_RWG, void, env) |
| 105 | DEF_HELPER_FLAGS_2(tbis, TCG_CALL_NO_RWG, void, env, i64) |
Richard Henderson | a9ead83 | 2013-07-26 12:00:32 -1000 | [diff] [blame] | 106 | DEF_HELPER_FLAGS_1(tb_flush, TCG_CALL_NO_RWG, void, env) |
Richard Henderson | c781cf9 | 2011-04-28 10:40:08 -0700 | [diff] [blame] | 107 | |
Richard Henderson | f5daeec | 2013-09-14 15:38:30 -0700 | [diff] [blame] | 108 | DEF_HELPER_1(halt, void, i64) |
Richard Henderson | c781cf9 | 2011-04-28 10:40:08 -0700 | [diff] [blame] | 109 | |
Richard Henderson | 19e0cbb | 2013-07-16 06:45:57 -0700 | [diff] [blame] | 110 | DEF_HELPER_FLAGS_0(get_vmtime, TCG_CALL_NO_RWG, i64) |
| 111 | DEF_HELPER_FLAGS_0(get_walltime, TCG_CALL_NO_RWG, i64) |
Aurelien Jarno | 0c0dcdf | 2012-10-09 21:53:08 +0200 | [diff] [blame] | 112 | DEF_HELPER_FLAGS_2(set_alarm, TCG_CALL_NO_RWG, void, env, i64) |
aurel32 | 8bb6e98 | 2008-09-30 06:45:44 +0000 | [diff] [blame] | 113 | #endif |