1
// Copyright (C) 2003 Dolphin Project.
3
// This program is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation, version 2.0.
7
// This program is distributed in the hope that it will be useful,
8
// but WITHOUT ANY WARRANTY; without even the implied warranty of
9
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
// GNU General Public License 2.0 for more details.
12
// A copy of the GPL 2.0 should have been included with the program.
13
// If not, see http://www.gnu.org/licenses/
15
// Official SVN repository and contact information can be found at
16
// http://code.google.com/p/dolphin-emu/
18
#ifndef _JIT_ARMABI_H_
19
#define _JIT_ARMABI_H_
23
// I've been using R8 as a trash register, I don't know if I should choose a
24
// better register or statically allocate some later, for now I'll just thrash
25
// R8 and down the road think about the other ones.
26
// TODO: Look at what all registers are being used for.
28
// ARMv7 uses registers for arguments to instructions
29
// R0 is also used for returns from instructions
30
// R1 is used as return along with R0 if it is a double size