Skip to content

Commit

Permalink
uses tbx inst. word, supports lower version #2
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Nov 6, 2023
1 parent e0902f9 commit e9de1b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base64_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ loop:
VTBL V3.B16, [V8.B16, V9.B16, V10.B16, V11.B16], V23.B16

// Get values from second LUT:
VTBX V16.B16, [V12.B16, V13.B16, V14.B16, V15.B16], V16.B16
VTBX V17.B16, [V12.B16, V13.B16, V14.B16, V15.B16], V17.B16
VTBX V18.B16, [V12.B16, V13.B16, V14.B16, V15.B16], V18.B16
VTBX V19.B16, [V12.B16, V13.B16, V14.B16, V15.B16], V19.B16
WORD $0x0e107190 // VTBX V16.B16, [V12.B16, V13.B16, V14.B16, V15.B16], V16.B16
WORD $0x0e117191 // VTBX V17.B16, [V12.B16, V13.B16, V14.B16, V15.B16], V17.B16
WORD $0x0e127192 // VTBX V18.B16, [V12.B16, V13.B16, V14.B16, V15.B16], V18.B16
WORD $0x0e137193 // VTBX V19.B16, [V12.B16, V13.B16, V14.B16, V15.B16], V19.B16

// Get final values:
VORR V16.B16, V20.B16, V0.B16
Expand Down

0 comments on commit e9de1b9

Please sign in to comment.