<commit_before>; 
; Copyright 2011-2013 <NAME>
; 
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; 
;     http://www.apache.org/licenses/LICENSE-2.0
; 
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
; 

				FRAME_BUFFER_ADDRESS = 0x10000000

				.regalias tmp s0
				.regalias ptr s1
				.regalias ycoord s2
				.regalias mask s3
				.regalias iteration s4
				.regalias four f5
				.regalias cmpresult s6
				.regalias xstep f7
				.regalias ystep f8
				.regalias xleft f9
				.regalias ytop f10
				
				.regalias xcoord v0
				.regalias pixel_values v1
				.regalias x vf2
				.regalias y vf3
				.regalias xx vf4
				.regalias yy vf5
				.regalias tmp0 vf6
				.regalias x0 vf7
				.regalias y0 vf8

_start:			tmp = 15
				cr30 = tmp				; start all strands

				; Load some constants
				four = 4.0
				xleft = -2.5
				xstep = 0.00546875		; 3.5 / 640
				ytop = -1.0
				ystep = 0.004166666		; 2.0 / 480

new_frame:		tmp = cr0				; get my strand id
				tmp = tmp << 4			; Multiply by 16 pixels
				xcoord = mem_l[initial_xcoords]
				xcoord = xcoord + tmp	; Add strand offset
				ycoord = 0

				ptr = FRAME_BUFFER_ADDRESS
				tmp = cr0			; get my strand id
				tmp = tmp << 6		; Multiply by 64 bytes
				ptr = ptr + tmp		; Offset pointer to interleave

				; Set up to compute pixel values
fill_loop:		v2 = 0	; x (hack to work around type issue)
				v3 = 0	; y	(ditto)	
				mask = 0
				iteration = 75

				; Convert coordinate space				
				x0 = itof(xcoord)
				x0 = x0 * xstep
				x0 = x0 + xleft
				y0 = itof(ycoord)
				y0 = y0 * ystep
				y0 = y0 + ytop
				
				; Determine if pixels are part of the set (16 pixels at a time)
escape_loop:	xx = x * x
				yy = y * y<commit_msg>Frame it a little better<commit_after>; 
; Copyright 2011-2013 <NAME>
; 
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
; 
;     http://www.apache.org/licenses/LICENSE-2.0
; 
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
; 

				FRAME_BUFFER_ADDRESS = 0x10000000

				.regalias tmp s0
				.regalias ptr s1
				.regalias ycoord s2
				.regalias mask s3
				.regalias iteration s4
				.regalias four f5
				.regalias cmpresult s6
				.regalias xstep f7
				.regalias ystep f8
				.regalias xleft f9
				.regalias ytop f10
				
				.regalias xcoord v0
				.regalias pixel_values v1
				.regalias x vf2
				.regalias y vf3
				.regalias xx vf4
				.regalias yy vf5
				.regalias tmp0 vf6
				.regalias x0 vf7
				.regalias y0 vf8

_start:			tmp = 15
				cr30 = tmp				; start all strands

				; Load some constants
				four = 4.0
				xleft = -2.0
				xstep = 0.00390625		; 2.5 / 640
				ytop = -1.0
				ystep = 0.004166666		; 2.0 / 480

new_frame:		tmp = cr0				; get my strand id
				tmp = tmp << 4			; Multiply by 16 pixels
				xcoord = mem_l[initial_xcoords]
				xcoord = xcoord + tmp	; Add strand offset
				ycoord = 0

				ptr = FRAME_BUFFER_ADDRESS
				tmp = cr0			; get my strand id
				tmp = tmp << 6		; Multiply by 64 bytes
				ptr = ptr + tmp		; Offset pointer to interleave

				; Set up to compute pixel values
fill_loop:		v2 = 0	; x (hack to work around type issue)
				v3 = 0	; y	(ditto)	
				mask = 0
				iteration = 75

				; Convert coordinate space				
				x0 = itof(xcoord)
				x0 = x0 * xstep
				x0 = x0 + xleft
				y0 = itof(ycoord)
				y0 = y0 * ystep
				y0 = y0 + ytop
				
				; Determine if pixels are part of the set (16 pixels at a time)
escape_loop:	xx = x * x
				yy = y * y
{'fraction_non_alphanumeric': 0.07069500835920707, 'fraction_numerical': 0.05349892524480535, 'mean_word_length': 2.27443315089914, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3936338', 'n_tokens_mistral': 1921, 'n_tokens_neox': 1453, 'n_words': 559}