X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fcspace_neon.S;h=4928b44ab60c2a124313f5e632f992318dc0009d;hb=dcb2e057c41c8324afc9cd83e45c2c9ca350e42f;hp=4cb3d4c8fc4a78ed7a149f98360814ad467dc6ce;hpb=2391c1b4a91068853fb2d783c8f7613658be4250;p=pcsx_rearmed.git diff --git a/frontend/cspace_neon.S b/frontend/cspace_neon.S index 4cb3d4c8..4928b44a 100644 --- a/frontend/cspace_neon.S +++ b/frontend/cspace_neon.S @@ -23,6 +23,17 @@ FUNCTION(bgr555_to_rgb565): @ dst, src, bytes pld [r1] mov r3, #0x07c0 vdup.16 q15, r3 + tst r0, #8 + beq 0f + @ align the dst + vld1.16 {d0}, [r1]! + sub r2, r2, #8 + vshl.u16 d0, d0, #1 + vshl.u16 d1, d0, #10 + vsri.u16 d1, d0, #11 + vbit d1, d0, d30 + vst1.16 {d1}, [r0]! +0: subs r2, r2, #64 blt btr16_end64 0: