notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bring GPUvBlank back
[pcsx_rearmed.git]
/
plugins
/
gpu_neon
/
psx_gpu
/
psx_gpu_arm_neon.S
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S
b/plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S
index
fd99798
..
973a8b3
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S
+++ b/
plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S
@@
-2002,8
+2002,6
@@
function(setup_blocks_unshaded_untextured_undithered_unswizzled_direct)
1:
add span_edge_data, span_edge_data, #8
subs num_spans, num_spans, #1
1:
add span_edge_data, span_edge_data, #8
subs num_spans, num_spans, #1
-
- strh num_blocks, [ psx_gpu, #psx_gpu_num_blocks_offset ]
bne 0b
ldmia sp!, { r4 - r11, pc }
bne 0b
ldmia sp!, { r4 - r11, pc }
@@
-4365,9
+4363,11
@@
function(warmup)
#define num_unaligned r2
#define num_width r6
#define num_unaligned r2
#define num_width r6
-#undef colors
+#undef colors_a
+#undef colors_b
-#define colors q0
+#define colors_a q0
+#define colors_b q1
.align 3
.align 3
@@
-4388,51
+4388,26
@@
function(render_block_fill_body)
orr color, color_r, color_g, lsl #5
orr color, color, color_b, lsl #10
orr color, color_r, color_g, lsl #5
orr color, color, color_b, lsl #10
- add left_unaligned, x, #0x7
+ vdup.u16 colors_a, color
- bic left_unaligned, left_unaligned, #0x7
- vdup.u16 colors, color
-
- sub left_unaligned, left_unaligned, x
+ vmov colors_b, colors_a
mov pitch, #2048
mov pitch, #2048
-
sub pitch, pitch, width, lsl #1
sub pitch, pitch, width, lsl #1
- sub width, width, left_unaligned
-
- and right_unaligned, width, #0x7
- bic width, width, #0x7
0:
0:
- mov num_width, width, lsr #3
-
- movs num_unaligned, left_unaligned
- beq 2f
+ mov num_width, width, lsr #4
1:
1:
- strh color, [ vram_ptr ], #2
-
- subs num_unaligned, num_unaligned, #1
- bne 1b
+ vst1.u32 { colors_a, colors_b }, [ vram_ptr, :128 ]!
- 2:
- vst1.u32 { colors }, [ vram_ptr, :128 ]!
subs num_width, num_width, #1
subs num_width, num_width, #1
- bne 2b
-
- movs num_unaligned, right_unaligned
- beq 4f
-
- 3:
- strh color, [ vram_ptr ], #2
-
- subs num_unaligned, num_unaligned, #1
- bne 3b
+ bne 1b
- 4:
add vram_ptr, vram_ptr, pitch
subs height, height, #1
bne 0b
add vram_ptr, vram_ptr, pitch
subs height, height, #1
bne 0b
-
+
+ 1:
ldmia sp!, { r4 - r6, pc }
ldmia sp!, { r4 - r6, pc }