Bob uses one thread and one native backward branch to scan all 256 byte
logits. The twelve-instruction loop advances R3 from 0 through 255, so the
branch offset is -192 bytes from the instruction following BRA.
885def greedyArgmaxSM86ByteVocabularyLoopProgram : (family SM86Program) =
886 (sm86ProgramAppend
887 (greedyArgmaxSM86Next
888 (constructor
889 SM86InstructionBody
890 SM86IntegerMultiplyAddWideConstant
891 greedyArgmaxSM86R24
892 greedyArgmaxSM86R3
893 greedyArgmaxSM86R4
894 (byte 0)
895 greedyArgmaxSM86U360
896 sm86SafeControl)
897 (greedyArgmaxSM86Next
898 (constructor
899 SM86InstructionBody
900 SM86LoadGlobal
901 greedyArgmaxSM86R10
902 greedyArgmaxSM86R24
903 greedyArgmaxSM86U0
904 greedyArgmaxSM86Set0)
905 (greedyArgmaxSM86Next
906 (constructor
907 SM86InstructionBody
908 SM86IntegerAddThreeImmediate
909 greedyArgmaxSM86R10
910 greedyArgmaxSM86R10
911 greedyArgmaxSM86U0
912 greedyArgmaxSM86Wait0)
913 sm86ProgramEmpty)))
914 (sm86ProgramAppend
915 greedyArgmaxSM86AscendingCandidateProgram
916 (greedyArgmaxSM86Next
917 (constructor
918 SM86InstructionBody
919 SM86IntegerAddThreeImmediate
920 greedyArgmaxSM86R3
921 greedyArgmaxSM86R3
922 greedyArgmaxSM86U1
923 sm86SafeControl)
924 (greedyArgmaxSM86Next
925 (constructor
926 SM86InstructionBody
927 SM86PredicateGreaterThanImmediate
928 greedyArgmaxSM86P0
929 greedyArgmaxSM86R3
930 greedyArgmaxSM86UByteMask
931 sm86SafeControl)
932 (greedyArgmaxSM86WhenNot
933 greedyArgmaxSM86P0
934 (constructor
935 SM86InstructionBody
936 SM86Branch
937 greedyArgmaxSM86ByteLoopBackOffset
938 greedyArgmaxSM86BackwardBranchDescriptor
939 sm86BranchControl)
940 sm86ProgramEmpty)))))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.