vms.mar 107 KB
Newer Older
6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440
	addl2	r3,r3
	bicl2	#0,r3
	addl2	r3,r8
	bicl2	#0,r8
	cmpl	r8,r3
	bgequ	noname.570
	incl	r2
	bicl3	#0,r2,r0
	bneq	noname.570
	incl	r9
noname.570:
	addl2	r2,r10
	bicl2	#0,r10
	cmpl	r10,r2
	bgequ	noname.571
	incl	r9
noname.571:

	movl	4(ap),r0
	movl	r8,4(r0)

	clrl	r8

	movl	8(ap),r4
	movl	4(r4),r3
	bicl3	#-65536,r3,r5
	extzv	#16,#16,r3,r0
	bicl3	#-65536,r0,r3
	mull3	r5,r3,r1
	mull2	r5,r5
	mull2	r3,r3
	bicl3	#32767,r1,r0
	extzv	#15,#17,r0,r0
	addl2	r0,r3
	bicl2	#-65536,r1
	ashl	#17,r1,r1
	addl2	r1,r5
	bicl2	#0,r5
	cmpl	r5,r1
	bgequ	noname.572
	incl	r3
noname.572:
	movl	r5,r1
	movl	r3,r2
	addl2	r1,r10
	bicl2	#0,r10
	cmpl	r10,r1
	bgequ	noname.573
	incl	r2
noname.573:
	addl2	r2,r9
	bicl2	#0,r9
	cmpl	r9,r2
	bgequ	noname.574
	incl	r8
noname.574:

	bicl3	#-65536,8(r4),r3
	movzwl	10(r4),r1
	bicl2	#-65536,r1
	bicl3	#-65536,(r4),r2
	movzwl	2(r4),r0
	bicl2	#-65536,r0
	movl	r3,r6
	movl	r1,r5
	mull3	r0,r6,r7
	mull2	r2,r6
	mull2	r5,r2
	mull2	r0,r5
	addl2	r2,r7
	bicl2	#0,r7
	cmpl	r7,r2
	bgequ	noname.575
	addl2	#65536,r5
noname.575:
	extzv	#16,#16,r7,r0
	bicl2	#-65536,r0
	addl2	r0,r5
	bicl3	#-65536,r7,r0
	ashl	#16,r0,r1
	addl2	r1,r6
	bicl2	#0,r6
	cmpl	r6,r1
	bgequ	noname.576
	incl	r5
noname.576:
	movl	r6,r3
	movl	r5,r2
	bbc	#31,r2,noname.577
	incl	r8
noname.577:
	addl2	r2,r2
	bicl2	#0,r2
	bbc	#31,r3,noname.578
	incl	r2
noname.578:
	addl2	r3,r3
	bicl2	#0,r3
	addl2	r3,r10
	bicl2	#0,r10
	cmpl	r10,r3
	bgequ	noname.579
	incl	r2
	bicl3	#0,r2,r0
	bneq	noname.579
	incl	r8
noname.579:
	addl2	r2,r9
	bicl2	#0,r9
	cmpl	r9,r2
	bgequ	noname.580
	incl	r8
noname.580:

	movl	4(ap),r0
	movl	r10,8(r0)

	clrl	r10

	movl	8(ap),r0
	bicl3	#-65536,12(r0),r3
	movzwl	14(r0),r1
	bicl2	#-65536,r1
	bicl3	#-65536,(r0),r2
	movzwl	2(r0),r0
	bicl2	#-65536,r0
	movl	r3,r5
	movl	r1,r4
	mull3	r0,r5,r6
	mull2	r2,r5
	mull3	r2,r4,-12(fp)
	mull2	r0,r4
	addl2	-12(fp),r6
	bicl2	#0,r6
	cmpl	r6,-12(fp)
	bgequ	noname.581
	addl2	#65536,r4
noname.581:
	extzv	#16,#16,r6,r0
	bicl2	#-65536,r0
	addl2	r0,r4
	bicl3	#-65536,r6,r0
	ashl	#16,r0,-12(fp)
	addl2	-12(fp),r5
	bicl2	#0,r5
	cmpl	r5,-12(fp)
	bgequ	noname.582
	incl	r4
noname.582:
	movl	r5,r3
	movl	r4,r2
	bbc	#31,r2,noname.583
	incl	r10
noname.583:
	addl2	r2,r2
	bicl2	#0,r2
	bbc	#31,r3,noname.584
	incl	r2
noname.584:
	addl2	r3,r3
	bicl2	#0,r3
	addl2	r3,r9
	bicl2	#0,r9
	cmpl	r9,r3
	bgequ	noname.585
	incl	r2
	bicl3	#0,r2,r0
	bneq	noname.585
	incl	r10
noname.585:
	addl2	r2,r8
	bicl2	#0,r8
	cmpl	r8,r2
	bgequ	noname.586
	incl	r10
noname.586:

	movl	8(ap),r0
	bicl3	#-65536,8(r0),r3
	movzwl	10(r0),r1
	bicl2	#-65536,r1
	bicl3	#-65536,4(r0),r2
	movzwl	6(r0),r0
	bicl2	#-65536,r0
	movl	r3,r5
	movl	r1,r4
	mull3	r0,r5,-16(fp)
	mull2	r2,r5
	mull3	r2,r4,-20(fp)
	mull2	r0,r4
	addl3	-16(fp),-20(fp),r0
	bicl3	#0,r0,-16(fp)
	cmpl	-16(fp),-20(fp)
	bgequ	noname.587
	addl2	#65536,r4
noname.587:
	movzwl	-14(fp),r0
	bicl2	#-65536,r0
	addl2	r0,r4
	bicl3	#-65536,-16(fp),r0
	ashl	#16,r0,-20(fp)
	addl2	-20(fp),r5
	bicl2	#0,r5
	cmpl	r5,-20(fp)
	bgequ	noname.588
	incl	r4
noname.588:
	movl	r5,r3
	movl	r4,r2
	bbc	#31,r2,noname.589
	incl	r10
noname.589:
	addl2	r2,r2
	bicl2	#0,r2
	bbc	#31,r3,noname.590
	incl	r2
noname.590:
	addl2	r3,r3
	bicl2	#0,r3
	addl2	r3,r9
	bicl2	#0,r9
	cmpl	r9,r3
	bgequ	noname.591
	incl	r2
	bicl3	#0,r2,r0
	bneq	noname.591
	incl	r10
noname.591:
	addl2	r2,r8
	bicl2	#0,r8
	cmpl	r8,r2
	bgequ	noname.592
	incl	r10
noname.592:
	movl	4(ap),r0
	movl	r9,12(r0)

	clrl	r9

	movl	8(ap),r3
	movl	8(r3),r4
	bicl3	#-65536,r4,r5
	extzv	#16,#16,r4,r0
	bicl3	#-65536,r0,r4
	mull3	r5,r4,-24(fp)
	mull2	r5,r5
	mull2	r4,r4
	bicl3	#32767,-24(fp),r0
	extzv	#15,#17,r0,r0
	addl2	r0,r4
	bicl3	#-65536,-24(fp),r0
	ashl	#17,r0,-24(fp)
	addl2	-24(fp),r5
	bicl2	#0,r5
	cmpl	r5,-24(fp)
	bgequ	noname.593
	incl	r4
noname.593:
	movl	r5,r1
	movl	r4,r2
	addl2	r1,r8
	bicl2	#0,r8
	cmpl	r8,r1
	bgequ	noname.594
	incl	r2
noname.594:
	addl2	r2,r10
	bicl2	#0,r10
	cmpl	r10,r2
	bgequ	noname.595
	incl	r9
noname.595:

	bicl3	#-65536,12(r3),r4
	movzwl	14(r3),r1
	bicl2	#-65536,r1
	bicl3	#-65536,4(r3),r2
	movzwl	6(r3),r0
	bicl2	#-65536,r0
	movl	r4,r6
	movl	r1,r5
	mull3	r0,r6,-28(fp)
	mull2	r2,r6
	mull3	r2,r5,-32(fp)
	mull2	r0,r5
	addl3	-28(fp),-32(fp),r0
	bicl3	#0,r0,-28(fp)
	cmpl	-28(fp),-32(fp)
	bgequ	noname.596
	addl2	#65536,r5
noname.596:
	movzwl	-26(fp),r0
	bicl2	#-65536,r0
	addl2	r0,r5
	bicl3	#-65536,-28(fp),r0
	ashl	#16,r0,-32(fp)
	addl2	-32(fp),r6
	bicl2	#0,r6
	cmpl	r6,-32(fp)
	bgequ	noname.597
	incl	r5
noname.597:
	movl	r6,r3
	movl	r5,r2
	bbc	#31,r2,noname.598
	incl	r9
noname.598:
	addl2	r2,r2
	bicl2	#0,r2
	bbc	#31,r3,noname.599
	incl	r2
noname.599:
	addl2	r3,r3
	bicl2	#0,r3
	addl2	r3,r8
	bicl2	#0,r8
	cmpl	r8,r3
	bgequ	noname.600
	incl	r2
	bicl3	#0,r2,r0
	bneq	noname.600
	incl	r9
noname.600:
	addl2	r2,r10
	bicl2	#0,r10
	cmpl	r10,r2
	bgequ	noname.601
	incl	r9
noname.601:

	movl	4(ap),r0
	movl	r8,16(r0)

	clrl	r8

	movl	8(ap),r0
	bicl3	#-65536,12(r0),r3
	movzwl	14(r0),r1
	bicl2	#-65536,r1
	bicl3	#-65536,8(r0),r2
	movzwl	10(r0),r0
	bicl2	#-65536,r0
	movl	r3,r5
	movl	r1,r4
	mull3	r0,r5,-36(fp)
	mull2	r2,r5
	mull3	r2,r4,-40(fp)
	mull2	r0,r4
	addl3	-36(fp),-40(fp),r0
	bicl3	#0,r0,-36(fp)
	cmpl	-36(fp),-40(fp)
	bgequ	noname.602
	addl2	#65536,r4
noname.602:
	movzwl	-34(fp),r0
	bicl2	#-65536,r0
	addl2	r0,r4
	bicl3	#-65536,-36(fp),r0
	ashl	#16,r0,-40(fp)
	addl2	-40(fp),r5
	bicl2	#0,r5
	cmpl	r5,-40(fp)
	bgequ	noname.603
	incl	r4
noname.603:
	movl	r5,r3
	movl	r4,r2
	bbc	#31,r2,noname.604
	incl	r8
noname.604:
	addl2	r2,r2
	bicl2	#0,r2
	bbc	#31,r3,noname.605
	incl	r2
noname.605:
	addl2	r3,r3
	bicl2	#0,r3
	addl2	r3,r10
	bicl2	#0,r10
	cmpl	r10,r3
	bgequ	noname.606
	incl	r2
	bicl3	#0,r2,r0
	bneq	noname.606
	incl	r8
noname.606:
	addl2	r2,r9
	bicl2	#0,r9
	cmpl	r9,r2
	bgequ	noname.607
	incl	r8
noname.607:

	movl	4(ap),r4
	movl	r10,20(r4)

	clrl	r10

	movl	8(ap),r0
	movl	12(r0),r3
	bicl3	#-65536,r3,r5
	extzv	#16,#16,r3,r0
	bicl3	#-65536,r0,r3
	mull3	r5,r3,-44(fp)
	mull2	r5,r5
	mull2	r3,r3
	bicl3	#32767,-44(fp),r0
	extzv	#15,#17,r0,r0
	addl2	r0,r3
	bicl3	#-65536,-44(fp),r0
	ashl	#17,r0,-44(fp)
	addl2	-44(fp),r5
	bicl2	#0,r5
	cmpl	r5,-44(fp)
	bgequ	noname.608
	incl	r3
noname.608:
	movl	r5,r1
	movl	r3,r2
	addl2	r1,r9
	bicl2	#0,r9
	cmpl	r9,r1
	bgequ	noname.609
	incl	r2
noname.609:
	addl2	r2,r8
	bicl2	#0,r8
	cmpl	r8,r2
	bgequ	noname.610
	incl	r10
noname.610:

	movl	r9,24(r4)

	movl	r8,28(r4)

	ret	

; For now, the code below doesn't work, so I end this prematurely.
.end