mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 12:50:51 +00:00
GRAPHICS: Manually specify function alignment in ARM assembly.
This commit is contained in:
parent
fa2297f6b7
commit
e499a25a00
@ -28,6 +28,7 @@
|
||||
|
||||
@ Assumes dst is aligned (so did the C)
|
||||
@ Assumes 16bit (so did the C)
|
||||
.align 2
|
||||
Normal2xARM:
|
||||
@ r0 = src
|
||||
@ r1 = srcPitch
|
||||
@ -92,6 +93,7 @@ thin:
|
||||
|
||||
@ Assumes dst is aligned (so did the C)
|
||||
@ Assumes 16bit (so did the C)
|
||||
.align 2
|
||||
Normal2xAspectMask:
|
||||
@ r0 = src
|
||||
@ r1 = srcPitch
|
||||
|
@ -29,6 +29,7 @@
|
||||
@ dstPtr. srcPitch and dstPitch identify how to reach subsequent
|
||||
@ lines. redblueMask and round allow for one routine to do both
|
||||
@ 565 and 555 formats.
|
||||
.align 2
|
||||
DownscaleAllByHalfARM:
|
||||
@ r0 = srcPtr
|
||||
@ r1 = srcPitch
|
||||
|
@ -37,6 +37,7 @@
|
||||
@ We hold: r10 B
|
||||
@ r8 r14 r7 D E F
|
||||
@ r12 H
|
||||
.align 2
|
||||
scale2x_8_arm:
|
||||
STMFD r13!,{r4-r5,r7-r8,r10-r11,r14}
|
||||
LDR r4, [r13,#4*7]
|
||||
@ -85,6 +86,7 @@ end8:
|
||||
|
||||
LDMFD r13!,{r4-r5,r7-r8,r10-r11,PC}
|
||||
|
||||
.align 2
|
||||
scale2x_16_arm:
|
||||
STMFD r13!,{r4-r5,r7-r8,r10-r11,r14}
|
||||
LDR r4, [r13,#4*7]
|
||||
@ -133,6 +135,7 @@ end16:
|
||||
|
||||
LDMFD r13!,{r4-r5,r7-r8,r10-r11,PC}
|
||||
|
||||
.align 2
|
||||
scale2x_32_arm:
|
||||
STMFD r13!,{r4-r5,r7-r8,r10-r11,r14}
|
||||
LDR r4, [r13,#4*7]
|
||||
|
Loading…
Reference in New Issue
Block a user