mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-01 14:28:02 +03:00
add two paths to addx in JIT that Crazy Taxi kept hitting, add 'add' and 'add.' tests to the ASM test, although I haven't tested it yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5261 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c3df2e93d7
commit
47f6192004
4 changed files with 48 additions and 0 deletions
|
@ -1,5 +1,24 @@
|
|||
#include "asm_tables.h"
|
||||
#include "Defines.h"
|
||||
|
||||
void add(u32 *a, u32 *b, u32 *c, u32 *d)
|
||||
{
|
||||
asm(
|
||||
"add %0,%1,%2"
|
||||
: "=r"(*a)
|
||||
: "r"(*b), "r"(*c)
|
||||
);
|
||||
}
|
||||
void addRC(u32 *a, u32 *b, u32 *c, u32 *d)
|
||||
{
|
||||
asm(
|
||||
"add. %0,%1,%2"
|
||||
: "=r"(*a)
|
||||
: "r"(*b), "r"(*c)
|
||||
: "cc"
|
||||
);
|
||||
}
|
||||
|
||||
void subfc(u32 *a, u32 *b, u32 *c, u32 *d)
|
||||
{
|
||||
asm(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue