diff options
author | notaz | 2011-09-23 19:29:03 +0300 |
---|---|---|
committer | notaz | 2011-09-23 19:29:03 +0300 |
commit | a80ae4a0353fce94df700ec84222d3c56c3d813a (patch) | |
tree | c6b2e473c33365cf8b33ab859681edf72ab06b01 /plugins | |
parent | aaac9c7e007b51aa74d18975f94bffdfed01c7e8 (diff) | |
download | pcsx_rearmed-a80ae4a0353fce94df700ec84222d3c56c3d813a.tar.gz pcsx_rearmed-a80ae4a0353fce94df700ec84222d3c56c3d813a.tar.bz2 pcsx_rearmed-a80ae4a0353fce94df700ec84222d3c56c3d813a.zip |
support armv5 build
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/dfsound/spu.c | 4 | ||||
-rw-r--r-- | plugins/dfxvideo/draw_fb.c | 2 | ||||
-rw-r--r-- | plugins/dfxvideo/soft.c | 2 | ||||
-rw-r--r-- | plugins/gpu_neon/Makefile | 2 | ||||
-rw-r--r-- | plugins/gpu_neon/vout_fb.c | 2 | ||||
-rw-r--r-- | plugins/gpu_unai/Makefile | 2 | ||||
-rw-r--r-- | plugins/gpu_unai/gpu.cpp | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 06cc476..f84ef77 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -37,7 +37,7 @@ #define N_(x) (x) #endif -#ifdef __arm__ +#ifdef __ARM_ARCH_7A__ #define ssat32_to_16(v) \ asm("ssat %0,#16,%1" : "=r" (v) : "r" (v)) #else @@ -620,7 +620,7 @@ static int do_samples_noise(int ch, int ns, int ns_to) return -1; } -#ifdef __arm__ +#ifdef __ARM_ARCH_7A__ // asm code extern void mix_chan(int start, int count, int lv, int rv); extern void mix_chan_rvb(int start, int count, int lv, int rv); diff --git a/plugins/dfxvideo/draw_fb.c b/plugins/dfxvideo/draw_fb.c index f40063e..7f80724 100644 --- a/plugins/dfxvideo/draw_fb.c +++ b/plugins/dfxvideo/draw_fb.c @@ -10,7 +10,7 @@ #include "gpu.h" #include "../../frontend/plugin_lib.h" -#include "../../frontend/arm_utils.h" +#include "../../frontend/cspace.h" #include "../../frontend/pcnt.h" // misc globals diff --git a/plugins/dfxvideo/soft.c b/plugins/dfxvideo/soft.c index 1b24624..160b0c4 100644 --- a/plugins/dfxvideo/soft.c +++ b/plugins/dfxvideo/soft.c @@ -1077,7 +1077,7 @@ static int left_B, delta_left_B, right_B, delta_right_B; // USE_NASM static inline int shl10idiv(int x, int y) { -#ifdef __arm__ +#ifdef __ARM_ARCH_7A__ // rearmed: let's use VFP divider instead float r = 1024.0f * (float)x / (float)y; return (int)r; diff --git a/plugins/gpu_neon/Makefile b/plugins/gpu_neon/Makefile index 09c47d3..adb5097 100644 --- a/plugins/gpu_neon/Makefile +++ b/plugins/gpu_neon/Makefile @@ -10,7 +10,7 @@ SRC += gpu.c ifeq "$(ARCH)" "arm" TARGET = gpu_neon.so CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -SRC += vout_fb.c ../../frontend/arm_utils.s +SRC += vout_fb.c ../../frontend/cspace_neon.s else TARGET = gpu_neon.so.x86 CFLAGS += `sdl-config --cflags` -m32 diff --git a/plugins/gpu_neon/vout_fb.c b/plugins/gpu_neon/vout_fb.c index 6b687b3..bda8d4a 100644 --- a/plugins/gpu_neon/vout_fb.c +++ b/plugins/gpu_neon/vout_fb.c @@ -10,7 +10,7 @@ #include "gpu.h" #include "../../frontend/plugin_lib.h" -#include "../../frontend/arm_utils.h" +#include "../../frontend/cspace.h" static const struct rearmed_cbs *cbs; static void *screen_buf; diff --git a/plugins/gpu_unai/Makefile b/plugins/gpu_unai/Makefile index 026d950..80f82ae 100644 --- a/plugins/gpu_unai/Makefile +++ b/plugins/gpu_unai/Makefile @@ -16,7 +16,7 @@ LDFLAGS += -shared -Wl,-soname,$(TARGET) all: $(TARGET) -$(TARGET): gpu.cpp ../../frontend/arm_utils.s +$(TARGET): gpu.cpp ../../frontend/cspace_neon.s $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) # $(TARGET): *.h diff --git a/plugins/gpu_unai/gpu.cpp b/plugins/gpu_unai/gpu.cpp index 3342d1e..fa176d5 100644 --- a/plugins/gpu_unai/gpu.cpp +++ b/plugins/gpu_unai/gpu.cpp @@ -820,7 +820,7 @@ void GPU_updateLace(void) #else #include "../../frontend/plugin_lib.h" -#include "../../frontend/arm_utils.h" +#include "../../frontend/cspace.h" extern "C" { |