xref: /qemu/target/tricore/helper.h (revision 0974257ed58ff3e9512d74ffa5b4039bbec49b2d)
10707ec1bSBastian Koppelmann /*
20707ec1bSBastian Koppelmann  *  Copyright (c) 2012-2014 Bastian Koppelmann C-Lab/University Paderborn
30707ec1bSBastian Koppelmann  *
40707ec1bSBastian Koppelmann  * This library is free software; you can redistribute it and/or
50707ec1bSBastian Koppelmann  * modify it under the terms of the GNU Lesser General Public
60707ec1bSBastian Koppelmann  * License as published by the Free Software Foundation; either
70707ec1bSBastian Koppelmann  * version 2 of the License, or (at your option) any later version.
80707ec1bSBastian Koppelmann  *
90707ec1bSBastian Koppelmann  * This library is distributed in the hope that it will be useful,
100707ec1bSBastian Koppelmann  * but WITHOUT ANY WARRANTY; without even the implied warranty of
110707ec1bSBastian Koppelmann  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
120707ec1bSBastian Koppelmann  * Lesser General Public License for more details.
130707ec1bSBastian Koppelmann  *
140707ec1bSBastian Koppelmann  * You should have received a copy of the GNU Lesser General Public
150707ec1bSBastian Koppelmann  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
160707ec1bSBastian Koppelmann  */
172692802aSBastian Koppelmann 
182692802aSBastian Koppelmann /* Arithmetic */
192692802aSBastian Koppelmann DEF_HELPER_3(add_ssov, i32, env, i32, i32)
200974257eSBastian Koppelmann DEF_HELPER_3(add_suov, i32, env, i32, i32)
212692802aSBastian Koppelmann DEF_HELPER_3(sub_ssov, i32, env, i32, i32)
220974257eSBastian Koppelmann DEF_HELPER_3(sub_suov, i32, env, i32, i32)
230974257eSBastian Koppelmann DEF_HELPER_3(mul_ssov, i32, env, i32, i32)
240974257eSBastian Koppelmann DEF_HELPER_3(mul_suov, i32, env, i32, i32)
250974257eSBastian Koppelmann DEF_HELPER_3(sha_ssov, i32, env, i32, i32)
260974257eSBastian Koppelmann DEF_HELPER_3(absdif_ssov, i32, env, i32, i32)
279a31922bSBastian Koppelmann /* CSA */
289a31922bSBastian Koppelmann DEF_HELPER_2(call, void, env, i32)
299a31922bSBastian Koppelmann DEF_HELPER_1(ret, void, env)
305de93515SBastian Koppelmann DEF_HELPER_2(bisr, void, env, i32)
3144ea3430SBastian Koppelmann DEF_HELPER_1(rfe, void, env)
3259543d4eSBastian Koppelmann DEF_HELPER_2(ldlcx, void, env, i32)
3359543d4eSBastian Koppelmann DEF_HELPER_2(lducx, void, env, i32)
3459543d4eSBastian Koppelmann DEF_HELPER_2(stlcx, void, env, i32)
3559543d4eSBastian Koppelmann DEF_HELPER_2(stucx, void, env, i32)
363a16ecb0SBastian Koppelmann /* Address mode helper */
373a16ecb0SBastian Koppelmann DEF_HELPER_1(br_update, i32, i32)
383a16ecb0SBastian Koppelmann DEF_HELPER_2(circ_update, i32, i32, i32)
39