diff options
author | Lioncash <mathew1800@gmail.com> | 2014-12-27 23:24:34 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2014-12-27 23:24:34 +0100 |
commit | af69b0840b67328f23a8123e4a6dec9c11eada96 (patch) | |
tree | 16621bd2dabe32e4a17f0014392c6c8f597e9a56 /src/core/arm/skyeye_common | |
parent | armemu: Implement UQADD8, UQADD16, UQSUB16, UQASX, and UQSAX (diff) | |
download | yuzu-af69b0840b67328f23a8123e4a6dec9c11eada96.tar yuzu-af69b0840b67328f23a8123e4a6dec9c11eada96.tar.gz yuzu-af69b0840b67328f23a8123e4a6dec9c11eada96.tar.bz2 yuzu-af69b0840b67328f23a8123e4a6dec9c11eada96.tar.lz yuzu-af69b0840b67328f23a8123e4a6dec9c11eada96.tar.xz yuzu-af69b0840b67328f23a8123e4a6dec9c11eada96.tar.zst yuzu-af69b0840b67328f23a8123e4a6dec9c11eada96.zip |
Diffstat (limited to 'src/core/arm/skyeye_common')
-rw-r--r-- | src/core/arm/skyeye_common/armdefs.h | 5 | ||||
-rw-r--r-- | src/core/arm/skyeye_common/armemu.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/core/arm/skyeye_common/armdefs.h b/src/core/arm/skyeye_common/armdefs.h index 34eb5aaf7..5b6e5f8cd 100644 --- a/src/core/arm/skyeye_common/armdefs.h +++ b/src/core/arm/skyeye_common/armdefs.h @@ -790,6 +790,11 @@ extern void ARMul_FixSPSR(ARMul_State*, ARMword, ARMword); extern void ARMul_ConsolePrint(ARMul_State*, const char*, ...); extern void ARMul_SelectProcessor(ARMul_State*, unsigned); +extern u8 ARMul_UnsignedSaturatedAdd8(u8, u8); +extern u16 ARMul_UnsignedSaturatedAdd16(u16, u16); +extern u8 ARMul_UnsignedSaturatedSub8(u8, u8); +extern u16 ARMul_UnsignedSaturatedSub16(u16, u16); + #define DIFF_LOG 0 #define SAVE_LOG 0 diff --git a/src/core/arm/skyeye_common/armemu.h b/src/core/arm/skyeye_common/armemu.h index 0b87dd39c..3ea14b5a3 100644 --- a/src/core/arm/skyeye_common/armemu.h +++ b/src/core/arm/skyeye_common/armemu.h @@ -603,10 +603,6 @@ extern void ARMul_MSRCpsr (ARMul_State *, ARMword, ARMword); extern void ARMul_SubOverflow (ARMul_State *, ARMword, ARMword, ARMword); extern void ARMul_AddOverflow (ARMul_State *, ARMword, ARMword, ARMword); extern void ARMul_AddOverflowQ(ARMul_State*, ARMword, ARMword); -extern u8 ARMul_UnsignedSaturatedAdd8(u8, u8); -extern u16 ARMul_UnsignedSaturatedAdd16(u16, u16); -extern u8 ARMul_UnsignedSaturatedSub8(u8, u8); -extern u16 ARMul_UnsignedSaturatedSub16(u16, u16); extern void ARMul_SubCarry (ARMul_State *, ARMword, ARMword, ARMword); extern void ARMul_AddCarry (ARMul_State *, ARMword, ARMword, ARMword); extern tdstate ARMul_ThumbDecode (ARMul_State *, ARMword, ARMword, ARMword *); |