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.
878def greedyArgmaxSM86ByteVocabularyLoopProgram : (family SM86Program) =
879 (sm86ProgramAppend
880 (greedyArgmaxSM86Next
881 (constructor
882 SM86InstructionBody
883 SM86IntegerMultiplyAddWideConstant
884 greedyArgmaxSM86R24
885 greedyArgmaxSM86R3
886 greedyArgmaxSM86R4
887 (byte 0)
888 greedyArgmaxSM86U360
889 sm86SafeControl)
890 (greedyArgmaxSM86Next
891 (constructor
892 SM86InstructionBody
893 SM86LoadGlobal
894 greedyArgmaxSM86R10
895 greedyArgmaxSM86R24
896 greedyArgmaxSM86U0
897 greedyArgmaxSM86Set0)
898 (greedyArgmaxSM86Next
899 (constructor
900 SM86InstructionBody
901 SM86IntegerAddThreeImmediate
902 greedyArgmaxSM86R10
903 greedyArgmaxSM86R10
904 greedyArgmaxSM86U0
905 greedyArgmaxSM86Wait0)
906 sm86ProgramEmpty)))
907 (sm86ProgramAppend
908 greedyArgmaxSM86AscendingCandidateProgram
909 (greedyArgmaxSM86Next
910 (constructor
911 SM86InstructionBody
912 SM86IntegerAddThreeImmediate
913 greedyArgmaxSM86R3
914 greedyArgmaxSM86R3
915 greedyArgmaxSM86U1
916 sm86SafeControl)
917 (greedyArgmaxSM86Next
918 (constructor
919 SM86InstructionBody
920 SM86PredicateGreaterThanImmediate
921 greedyArgmaxSM86P0
922 greedyArgmaxSM86R3
923 greedyArgmaxSM86UByteMask
924 sm86SafeControl)
925 (greedyArgmaxSM86WhenNot
926 greedyArgmaxSM86P0
927 (constructor
928 SM86InstructionBody
929 SM86Branch
930 greedyArgmaxSM86ByteLoopBackOffset
931 greedyArgmaxSM86BackwardBranchDescriptor
932 sm86BranchControl)
933 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.