Don't duplicate identical code for the last three schedule computation phases.

This shrinks code size and is probably faster with accelerators due to caching.
This commit is contained in:
Stephen Heumann 2017-06-30 12:49:51 -05:00
parent d97e0c0153
commit 6c1d703b84
1 changed files with 7 additions and 3 deletions

View File

@ -89,11 +89,11 @@ SHA1_PROCESSCHUNK start
ComputeSchedule 1
BlockLoopPart 1
ComputeSchedule 2
jsr ComputeScheduleSub
BlockLoopPart 2
ComputeSchedule 3
jsr ComputeScheduleSub
BlockLoopPart 3
ComputeSchedule 4
jsr ComputeScheduleSub
BlockLoopPart 4
endloop clc
@ -137,4 +137,8 @@ endloop clc
sta h4+2
rtl
ComputeScheduleSub anop
ComputeSchedule 2
rts
end