ref: 42b8dcf44db9868526a12ae6ce1215024c9e76aa
parent: d14469607cb5d64b170ef6e9b79c3d812ff20641
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Jan 5 13:09:31 EST 2024
remove unused assembly files
--- a/pal_386.s
+++ /dev/null
@@ -1,37 +1,0 @@
-TEXT pal2xrgb(SB), $-4
- MOVL n+0(FP), AX
- MOVL p+4(FP), BX
- MOVL s+8(FP), SI
- MOVL d+12(FP), DI
-
- ADDL SI, AX
-
-_l2:
- MOVWLZX 0(SI), CX
- MOVL CX, DX
- ANDL $0x00ff, CX
- SHRL $8, DX
-
- MOVL (BX)(CX*4), CX
- MOVL (BX)(DX*4), DX
- MOVL CX, 0(DI)
- MOVL DX, 4(DI)
-
- ADDL $2, SI
- ADDL $8, DI
- CMPL SI, AX
- JLE _l2
- JEQ _end
-
-_l1:
- MOVBLZX 0(SI), CX
- MOVL (BX)(CX*4), CX
- MOVL CX, 0(DI)
-
- ADDL $1, SI
- ADDL $4, DI
- CMPL SI, AX
- JLE _l1
-
-_end:
- RET
--- a/pal_arm64.s
+++ /dev/null
@@ -1,52 +1,0 @@
-TEXT pal2xrgb+0(SB), 1, $-4
- MOV pal+8(FP), R1
- MOV s+16(FP), R2
- MOV d+24(FP), R3
-
- ADD R2, R0
-
- CMP $8, R0
- BLE _l1
-
- AND $7, R0, R12
- SUB R12, R0, R12
-
-_l8:
- MOVWU 0(R2), R4
- MOVWU 4(R2), R8
- UBFXW $8, $8, R4, R5
- UBFXW $8, $8, R8, R9
- UBFXW $16, $8, R4, R6
- UBFXW $16, $8, R8, R10
- UBFXW $24, $8, R4, R7
- MOVBU R4, R4
- UBFXW $24, $8, R8, R11
- MOVBU R8, R8
- MOVWU (R1)[R4], R13
- MOVWU (R1)[R5], R14
- MOVWU (R1)[R6], R15
- MOVWU (R1)[R7], R16
- MOVWU (R1)[R8], R17
- MOVWU (R1)[R9], R18
- MOVWU (R1)[R10], R19
- MOVWU (R1)[R11], R20
- MOVPW R13, R14, 0(R3)
- MOVPW R15, R16, 8(R3)
- MOVPW R17, R18, 16(R3)
- MOVPW R19, R20, 24(R3)
- ADD $32, R3
- ADD $8, R2
- CMP R2, R12
- BNE _l8
- CMP R2, R0
- BEQ _end
-
-_l1:
- MOVBU 1(R2)!, R4
- MOVWU (R1)[R4], R4
- MOVWU R4, 4(R3)!
- CMP R2, R0
- BNE _l1
-
-_end:
- RETURN
--- a/span_arm64.s
+++ /dev/null
@@ -1,23 +1,0 @@
-TEXT dospan+0(SB), 1, $-4
- MOV pbase+8(FP), R1
- MOVW s+16(FP), R2
- MOVW t+24(FP), R3
- MOVW sstep+32(FP), R4
- MOVW tstep+40(FP), R5
- MOVW spancount+48(FP), R6
- MOVW cachewidth+56(FP), R7
- LSRW $16, R3, R9
- LSRW $16, R2, R8
-
-_l:
- SUBW $1, R6
- MADDW R7, R9, R8, R8
- ADDW R5, R3
- MOVW (R1)[R8], R10
- ADDW R4, R2
- MOVW R10, 4(R0)!
- LSRW $16, R3, R9
- LSRW $16, R2, R8
- CBNZ R6, _l
-
- RETURN