-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgcc-hppa64.s
6859 lines (6859 loc) · 117 KB
/
gcc-hppa64.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.LEVEL 2.0w
.text
.align 8
.globl make_ti
.type make_ti, @function
make_ti:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
copy %r26,%r28
bve (%r2)
copy %r25,%r29
.EXIT
.PROCEND
.size make_ti, .-make_ti
.align 8
.globl make_tu
.type make_tu, @function
make_tu:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
copy %r26,%r28
bve (%r2)
copy %r25,%r29
.EXIT
.PROCEND
.size make_tu, .-make_tu
.align 8
.globl memmove
.type memmove, @function
memmove:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
cmpb,*>>= %r25,%r26,.L5
copy %r26,%r28
add,l %r25,%r24,%r20
cmpb,*= %r0,%r24,.L6
add,l %r26,%r24,%r21
ldb,mb -1(%r20),%r24
.L50:
stb,mb %r24,-1(%r21)
cmpb,*<>,n %r21,%r28,.L50
ldb,mb -1(%r20),%r24
.L6:
bve,n (%r2)
.L5:
cmpb,*= %r25,%r26,.L6
nop
cmpb,*= %r0,%r24,.L6
ldo -1(%r24),%r31
cmpib,*>>= 7,%r31,.L8
ldo 1(%r25),%r1
or %r25,%r26,%r1
extrd,u %r1,63,3,%r19
ldo -1(%r19),%r20
cmpb,*<= %r0,%r20,.L8
ldo 1(%r25),%r1
sub %r26,%r1,%r21
cmpib,*>>= 6,%r21,.L8
copy %r24,%r22
copy %r26,%r29
depdi 0,63,3,%r22
add,l %r25,%r22,%r23
.L10:
ldd 0(%r25),%r26
std %r26,0(%r29)
ldo 8(%r25),%r25
cmpb,*<> %r23,%r25,.L10
ldo 8(%r29),%r29
add,l %r28,%r22,%r31
cmpb,*= %r22,%r24,.L6
sub %r24,%r22,%r1
ldb 0(%r25),%r24
cmpib,*= 1,%r1,.L6
stb %r24,0(%r31)
ldb 1(%r25),%r19
cmpib,*= 2,%r1,.L6
stb %r19,1(%r31)
ldb 2(%r25),%r20
cmpib,*= 3,%r1,.L6
stb %r20,2(%r31)
ldb 3(%r25),%r21
cmpib,*= 4,%r1,.L6
stb %r21,3(%r31)
ldb 4(%r25),%r22
cmpib,*= 5,%r1,.L6
stb %r22,4(%r31)
ldb 5(%r25),%r23
cmpib,*= 6,%r1,.L6
stb %r23,5(%r31)
ldb 6(%r25),%r25
bve (%r2)
stb %r25,6(%r31)
.L8:
add,l %r28,%r24,%r26
copy %r28,%r31
.L13:
ldb -1(%r1),%r29
stb %r29,0(%r31)
ldo 1(%r31),%r31
cmpb,*<> %r26,%r31,.L13
ldo 1(%r1),%r1
bve,n (%r2)
.EXIT
.PROCEND
.size memmove, .-memmove
.align 8
.globl memccpy
.type memccpy, @function
memccpy:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
cmpb,*<> %r0,%r23,.L52
extrd,u %r24,63,8,%r24
b .L62
ldi 0,%r28
.L55:
cmpb,*= %r0,%r23,.L54
ldo 1(%r26),%r26
.L52:
ldb 0(%r25),%r28
stb %r28,0(%r26)
ldo -1(%r23),%r23
cmpb,<> %r24,%r28,.L55
ldo 1(%r25),%r25
bve (%r2)
ldo 1(%r26),%r28
.L54:
ldi 0,%r28
.L62:
bve,n (%r2)
.EXIT
.PROCEND
.size memccpy, .-memccpy
.align 8
.globl memchr
.type memchr, @function
memchr:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
cmpb,*<> %r0,%r24,.L64
extrd,u %r25,63,8,%r25
b .L71
copy %r24,%r28
.L66:
cmpb,*= %r0,%r24,.L67
ldo 1(%r26),%r26
.L64:
ldb 0(%r26),%r28
cmpb,<>,n %r25,%r28,.L66
ldo -1(%r24),%r24
bve (%r2)
copy %r26,%r28
.L67:
copy %r24,%r28
.L71:
bve,n (%r2)
.EXIT
.PROCEND
.size memchr, .-memchr
.align 8
.globl memcmp
.type memcmp, @function
memcmp:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
cmpclr,*<> %r0,%r24,%r0
b,n .L77
.L87:
ldb 0(%r26),%r28
ldb 0(%r25),%r31
cmpb,<> %r31,%r28,.L86
ldo -1(%r24),%r24
ldo 1(%r26),%r26
cmpb,*<> %r0,%r24,.L87
ldo 1(%r25),%r25
.L77:
bve (%r2)
copy %r24,%r28
.L86:
sub %r28,%r31,%r1
bve (%r2)
extrd,s %r1,63,32,%r28
.EXIT
.PROCEND
.size memcmp, .-memcmp
.align 8
.globl memcpy
.type memcpy, @function
memcpy:
.PROC
.CALLINFO FRAME=128,CALLS,SAVE_RP,ENTRY_GR=4
.ENTRY
std %r2,-16(%r30)
std,ma %r4,128(%r30)
std %r3,-120(%r30)
cmpb,*= %r0,%r24,.L89
copy %r26,%r3
ldo -48(%r30),%r29
b,l memcpy,%r2
nop
.L89:
copy %r3,%r28
ldd -144(%r30),%r2
ldd -120(%r30),%r3
bve (%r2)
ldd,mb -128(%r30),%r4
.EXIT
.PROCEND
.size memcpy, .-memcpy
.align 8
.globl memrchr
.type memrchr, @function
memrchr:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldo -1(%r24),%r24
extrd,u %r25,63,8,%r25
add,l %r26,%r24,%r1
b .L94
ldo -1(%r26),%r26
.L96:
ldb 0(%r28),%r31
cmpb,= %r25,%r31,.L93
ldo -1(%r1),%r1
.L94:
cmpb,*<> %r26,%r1,.L96
copy %r1,%r28
ldi 0,%r28
.L93:
bve,n (%r2)
.EXIT
.PROCEND
.size memrchr, .-memrchr
.align 8
.globl memset
.type memset, @function
memset:
.PROC
.CALLINFO FRAME=128,CALLS,SAVE_RP,ENTRY_GR=4
.ENTRY
std %r2,-16(%r30)
extrd,s %r25,63,32,%r25
std,ma %r4,128(%r30)
std %r3,-120(%r30)
cmpb,*= %r0,%r24,.L100
copy %r26,%r3
ldo -48(%r30),%r29
b,l memset,%r2
extrw,u %r25,31,8,%r25
.L100:
copy %r3,%r28
ldd -144(%r30),%r2
ldd -120(%r30),%r3
bve (%r2)
ldd,mb -128(%r30),%r4
.EXIT
.PROCEND
.size memset, .-memset
.align 8
.globl stpcpy
.type stpcpy, @function
stpcpy:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldb 0(%r25),%r31
stb %r31,0(%r26)
extrd,s %r31,63,8,%r1
cmpb,*= %r0,%r1,.L102
copy %r26,%r28
.L103:
ldb,mb 1(%r25),%r19
extrd,s %r19,63,8,%r20
cmpb,*<> %r0,%r20,.L103
stb,mb %r19,1(%r28)
.L102:
bve,n (%r2)
.EXIT
.PROCEND
.size stpcpy, .-stpcpy
.align 8
.globl strchrnul
.type strchrnul, @function
strchrnul:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldb 0(%r26),%r31
extrd,u %r25,63,8,%r25
extrd,s %r31,63,8,%r20
cmpb,*<> %r0,%r20,.L109
copy %r26,%r28
b,n .L108
.L111:
extrd,s %r19,63,8,%r20
cmpclr,*<> %r0,%r20,%r0
b,n .L108
.L109:
extrw,u %r20,31,8,%r1
cmpb,<>,n %r25,%r1,.L111
ldb,mb 1(%r28),%r19
.L108:
bve,n (%r2)
.EXIT
.PROCEND
.size strchrnul, .-strchrnul
.align 8
.globl strchr
.type strchr, @function
strchr:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
extrd,s %r25,63,32,%r25
b .L118
copy %r26,%r28
.L121:
cmpb,*= %r0,%r1,.L120
ldo 1(%r28),%r28
.L118:
ldb 0(%r28),%r31
extrd,s %r31,63,8,%r1
cmpb,<> %r25,%r1,.L121
nop
bve,n (%r2)
.L120:
bve (%r2)
copy %r1,%r28
.EXIT
.PROCEND
.size strchr, .-strchr
.align 8
.globl strcmp
.type strcmp, @function
strcmp:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldb 0(%r26),%r19
ldb 0(%r25),%r31
extrd,s %r19,63,8,%r28
extrd,s %r31,63,8,%r20
cmpb,=,n %r20,%r28,.L123
extrd,u %r19,63,8,%r28
b .L132
extrw,u %r20,31,8,%r21
.L125:
ldb,mb 1(%r25),%r1
extrd,s %r19,63,8,%r28
extrd,s %r1,63,8,%r20
cmpb,<> %r20,%r28,.L130
extrw,u %r20,31,8,%r21
.L123:
cmpb,*<>,n %r0,%r28,.L125
ldb,mb 1(%r26),%r19
extrw,u %r20,31,8,%r21
sub %r28,%r21,%r22
bve (%r2)
extrd,s %r22,63,32,%r28
.L130:
extrd,u %r19,63,8,%r28
.L132:
sub %r28,%r21,%r22
bve (%r2)
extrd,s %r22,63,32,%r28
.EXIT
.PROCEND
.size strcmp, .-strcmp
.align 8
.globl strlen
.type strlen, @function
strlen:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldb 0(%r26),%r28
cmpib,= 0,%r28,.L136
copy %r26,%r1
ldb,mb 1(%r1),%r31
.L138:
extrw,s %r31,31,8,%r19
cmpib,<>,n 0,%r19,.L138
ldb,mb 1(%r1),%r31
bve (%r2)
sub %r1,%r26,%r28
.L136:
bve (%r2)
ldi 0,%r28
.EXIT
.PROCEND
.size strlen, .-strlen
.align 8
.globl strncmp
.type strncmp, @function
strncmp:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
cmpb,*= %r0,%r24,.L146
ldo -1(%r24),%r22
copy %r25,%r20
ldb 0(%r26),%r28
cmpb,*<> %r0,%r28,.L143
add,l %r25,%r22,%r29
b .L155
ldb 0(%r25),%r21
.L157:
cmpb,*=,n %r29,%r20,.L148
ldb,mb 1(%r26),%r28
extrd,u %r28,63,8,%r28
cmpb,*= %r0,%r28,.L156
ldo 1(%r20),%r22
copy %r22,%r20
.L143:
ldb 0(%r20),%r21
xor %r21,%r28,%r19
extrw,s,>= %r21,31,8,%r31
subi 0,%r31,%r31
extrw,s,>= %r19,31,8,%r1
subi 0,%r1,%r1
sub %r0,%r31,%r23
ldo -1(%r1),%r24
and %r23,%r24,%r25
bb,< %r25,24,.L157
nop
.L148:
extrd,s %r28,63,32,%r28
.L142:
sub %r28,%r21,%r26
.L158:
bve (%r2)
extrd,s %r26,63,32,%r28
.L146:
bve (%r2)
copy %r24,%r28
.L156:
b .L142
ldb 1(%r20),%r21
.L155:
b .L158
sub %r28,%r21,%r26
.EXIT
.PROCEND
.size strncmp, .-strncmp
.align 8
.globl swab
.type swab, @function
swab:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
cmpib,*>= 1,%r24,.L159
depdi 0,63,1,%r24
add,l %r26,%r24,%r19
.L161:
ldb 1(%r26),%r31
ldb 0(%r26),%r28
ldo 2(%r25),%r25
ldo 2(%r26),%r26
stb %r31,-2(%r25)
cmpb,*<> %r19,%r26,.L161
stb %r28,-1(%r25)
.L159:
bve,n (%r2)
.EXIT
.PROCEND
.size swab, .-swab
.align 8
.globl isalpha
.type isalpha, @function
isalpha:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
depwi -1,26,1,%r26
ldo -97(%r26),%r28
cmpiclr,<< 25,%r28,%r1
ldi 1,%r1
bve (%r2)
extrd,u %r1,63,1,%r28
.EXIT
.PROCEND
.size isalpha, .-isalpha
.align 8
.globl isascii
.type isascii, @function
isascii:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
cmpiclr,<< 127,%r26,%r28
ldi 1,%r28
bve (%r2)
extrd,u %r28,63,1,%r28
.EXIT
.PROCEND
.size isascii, .-isascii
.align 8
.globl isblank
.type isblank, @function
isblank:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldi 9,%r28
ldi 32,%r31
xor %r26,%r28,%r19
xor %r26,%r31,%r1
or,>= %r0,%r19,%r21
subi 0,%r21,%r21
or,>= %r0,%r1,%r20
subi 0,%r20,%r20
ldo -1(%r21),%r23
ldo -1(%r20),%r22
or %r23,%r22,%r24
bve (%r2)
extrd,u %r24,32+1-1,1,%r28
.EXIT
.PROCEND
.size isblank, .-isblank
.align 8
.globl iscntrl
.type iscntrl, @function
iscntrl:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
extrd,s %r26,63,32,%r28
ldi 31,%r19
cmpb,>>= %r19,%r26,.L169
ldi 1,%r31
ldi 0,%r31
.L169:
ldi 127,%r1
xor %r28,%r1,%r20
or,>= %r0,%r20,%r21
subi 0,%r21,%r21
ldo -1(%r21),%r22
extrw,u %r22,0,1,%r23
or %r23,%r31,%r24
bve (%r2)
extrd,u %r24,63,1,%r28
.EXIT
.PROCEND
.size iscntrl, .-iscntrl
.align 8
.globl isdigit
.type isdigit, @function
isdigit:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldo -48(%r26),%r28
cmpiclr,<< 9,%r28,%r1
ldi 1,%r1
bve (%r2)
extrd,u %r1,63,1,%r28
.EXIT
.PROCEND
.size isdigit, .-isdigit
.align 8
.globl isgraph
.type isgraph, @function
isgraph:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldo -33(%r26),%r28
cmpiclr,<< 93,%r28,%r1
ldi 1,%r1
bve (%r2)
extrd,u %r1,63,1,%r28
.EXIT
.PROCEND
.size isgraph, .-isgraph
.align 8
.globl islower
.type islower, @function
islower:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldo -97(%r26),%r28
cmpiclr,<< 25,%r28,%r1
ldi 1,%r1
bve (%r2)
extrd,u %r1,63,1,%r28
.EXIT
.PROCEND
.size islower, .-islower
.align 8
.globl isprint
.type isprint, @function
isprint:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldo -32(%r26),%r28
cmpiclr,<< 94,%r28,%r1
ldi 1,%r1
bve (%r2)
extrd,u %r1,63,1,%r28
.EXIT
.PROCEND
.size isprint, .-isprint
.align 8
.globl isspace
.type isspace, @function
isspace:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
extrd,s %r26,63,32,%r31
ldo -9(%r26),%r26
cmpib,>>= 4,%r26,.L179
ldi 1,%r19
ldi 0,%r19
.L179:
ldi 32,%r28
xor %r31,%r28,%r1
or,>= %r0,%r1,%r20
subi 0,%r20,%r20
ldo -1(%r20),%r21
extrw,u %r21,0,1,%r22
or %r22,%r19,%r23
bve (%r2)
extrd,u %r23,63,1,%r28
.EXIT
.PROCEND
.size isspace, .-isspace
.align 8
.globl isupper
.type isupper, @function
isupper:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldo -65(%r26),%r28
cmpiclr,<< 25,%r28,%r1
ldi 1,%r1
bve (%r2)
extrd,u %r1,63,1,%r28
.EXIT
.PROCEND
.size isupper, .-isupper
.align 8
.globl iswcntrl
.type iswcntrl, @function
iswcntrl:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
extrd,u %r26,63,32,%r31
ldi 32,%r28
ldo -127(%r26),%r26
cmpb,>>= %r28,%r26,.L187
ldi 31,%r1
cmpb,>>= %r1,%r31,.L187
ldo -40(%r31),%r19
ldo -8192(%r19),%r20
cmpib,>>= 1,%r20,.L183
ldi 1,%r28
depwi,z -7,31,16,%r21
sub %r31,%r21,%r22
cmpiclr,<< 2,%r22,%r23
ldi 1,%r23
extrd,s %r23,63,32,%r28
.L183:
bve,n (%r2)
.L187:
bve (%r2)
ldi 1,%r28
.EXIT
.PROCEND
.size iswcntrl, .-iswcntrl
.align 8
.globl iswdigit
.type iswdigit, @function
iswdigit:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldo -48(%r26),%r28
cmpiclr,<< 9,%r28,%r1
ldi 1,%r1
bve (%r2)
extrd,u %r1,63,1,%r28
.EXIT
.PROCEND
.size iswdigit, .-iswdigit
.align 8
.globl iswprint
.type iswprint, @function
iswprint:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
ldi 254,%r31
cmpb,>>= %r31,%r26,.L204
extrd,u %r26,63,32,%r28
ldo -42(%r28),%r1
ldil L'49152,%r19
ldo -8192(%r1),%r20
ldo -2091(%r19),%r21
cmpb,<< %r21,%r20,.L205
ldil L'16384,%r22
.L200:
bve (%r2)
ldi 1,%r28
.L205:
ldo -8153(%r22),%r23
cmpb,>>= %r23,%r28,.L200
ldil L'-57344,%r24
ldi 8184,%r25
add,l %r28,%r24,%r26
cmpb,>>= %r25,%r26,.L200
depwi,z -1,29,14,%r29
ldil L'1048576,%r31
sub %r28,%r29,%r1
ldo 3(%r31),%r19
cmpb,<< %r19,%r1,.L201
depwi,z -1,30,15,%r20
andcm %r20,%r28,%r28
sub %r0,%r28,%r21
extrw,u %r21,0,1,%r22
bve (%r2)
extrd,s %r22,63,32,%r28
.L204:
ldo 1(%r26),%r23
extrw,u %r23,31,7,%r24
cmpiclr,>>= 32,%r24,%r25
ldi 1,%r25
bve (%r2)
extrd,s %r25,63,32,%r28
.L201:
bve (%r2)
ldi 0,%r28
.EXIT
.PROCEND
.size iswprint, .-iswprint
.align 8
.globl iswxdigit
.type iswxdigit, @function
iswxdigit:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
extrd,u %r26,63,32,%r31
ldo -48(%r26),%r26
cmpib,>>= 9,%r26,.L207
ldi 1,%r28
depwi -1,26,1,%r31
ldo -97(%r31),%r28
cmpiclr,<< 5,%r28,%r1
ldi 1,%r1
extrd,s %r1,63,32,%r28
.L207:
bve,n (%r2)
.EXIT
.PROCEND
.size iswxdigit, .-iswxdigit
.align 8
.globl toascii
.type toascii, @function
toascii:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
bve (%r2)
extrd,u %r26,63,7,%r28
.EXIT
.PROCEND
.size toascii, .-toascii
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC0:
.word 0
.word 0
.text
.align 8
.globl fdim
.type fdim, @function
fdim:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
fcmp,dbl,!? %fr4,%fr4
ftest
b .L211
fcmp,dbl,!? %fr5,%fr5
ftest
b,n .L215
fcmp,dbl,!> %fr4,%fr5
ftest
b .L217
addil LT'.LC0,%r27
ldd RT'.LC0(%r1),%r28
fldd 0(%r28),%fr4
.L211:
bve,n (%r2)
.L217:
bve (%r2)
fsub,dbl %fr4,%fr5,%fr4
.L215:
bve (%r2)
fcpy,dbl %fr5,%fr4
.EXIT
.PROCEND
.size fdim, .-fdim
.section .rodata.cst4,"aM",@progbits,4
.align 4
.LC2:
.word 0
.text
.align 8
.globl fdimf
.type fdimf, @function
fdimf:
.PROC
.CALLINFO FRAME=0,NO_CALLS
.ENTRY
fcmp,sgl,!? %fr4R,%fr4R
ftest
b .L220
fcmp,sgl,!? %fr5R,%fr5R
ftest
b,n .L224
fcmp,sgl,!> %fr4R,%fr5R
ftest
b .L226
addil LT'.LC2,%r27
ldd RT'.LC2(%r1),%r28
fldw 0(%r28),%fr4R
.L220:
bve,n (%r2)
.L226:
bve (%r2)
fsub,sgl %fr4R,%fr5R,%fr4R
.L224:
bve (%r2)
fcpy,sgl %fr5R,%fr4R
.EXIT
.PROCEND
.size fdimf, .-fdimf
.align 8
.globl fmax
.type fmax, @function
fmax:
.PROC
.CALLINFO FRAME=64,NO_CALLS
.ENTRY
fcmp,dbl,!? %fr4,%fr4
ldo 64(%r30),%r30
ftest
b .L235
fcpy,dbl %fr4,%fr22
fcmp,dbl,!? %fr5,%fr5
ftest
b,n .L236
fstd %fr4,-56(%r30)
ldd -56(%r30),%r28
extrd,u %r28,0+1-1,1,%r19
fstd %fr5,-56(%r30)
ldd -56(%r30),%r31
extrd,u %r31,0+1-1,1,%r20
cmpb,<> %r20,%r19,.L240
extrd,u %r28,0,1,%r1
fcmp,dbl,!< %fr4,%fr5
ftest
b,n .L235
fcpy,dbl %fr4,%fr5
.L235:
fcpy,dbl %fr5,%fr4
.L229:
bve (%r2)
ldo -64(%r30),%r30
.L240:
cmpb,*<> %r0,%r1,.L229
fcpy,dbl %fr5,%fr4
.L236:
fcpy,dbl %fr22,%fr4
bve (%r2)
ldo -64(%r30),%r30
.EXIT
.PROCEND
.size fmax, .-fmax
.align 8
.globl fmaxf
.type fmaxf, @function
fmaxf:
.PROC
.CALLINFO FRAME=64,NO_CALLS
.ENTRY
fcmp,sgl,!? %fr4R,%fr4R
ldo 64(%r30),%r30
ftest
b .L247
fcpy,sgl %fr4R,%fr22R
fcmp,sgl,!? %fr5R,%fr5R
ftest
b,n .L248
fstd %fr22,-56(%r30)
ldd -56(%r30),%r28
depwi 0,31,31,%r28
fstd %fr5,-56(%r30)
ldd -56(%r30),%r31
depwi 0,31,31,%r31
cmpb,<> %r31,%r28,.L252
extrd,s %r28,63,32,%r19
fcmp,sgl,!< %fr4R,%fr5R
ftest
b,n .L247
fcpy,sgl %fr4R,%fr5R
.L247:
fcpy,sgl %fr5R,%fr4R
.L241:
bve (%r2)
ldo -64(%r30),%r30
.L252:
cmpb,*<> %r0,%r19,.L241
fcpy,sgl %fr5R,%fr4R
.L248:
fcpy,sgl %fr22R,%fr4R
bve (%r2)
ldo -64(%r30),%r30
.EXIT
.PROCEND
.size fmaxf, .-fmaxf
.align 8
.globl fmaxl
.type fmaxl, @function
fmaxl:
.PROC
.CALLINFO FRAME=160,CALLS,SAVE_RP,ENTRY_GR=7
.ENTRY
std %r2,-16(%r30)
std,ma %r7,160(%r30)
copy %r23,%r7
ldo -48(%r30),%r29
std %r6,-152(%r30)
copy %r25,%r23
copy %r24,%r6
std %r5,-144(%r30)
copy %r26,%r24
copy %r25,%r5
std %r4,-136(%r30)
copy %r27,%r4
std %r3,-128(%r30)
b,l __unordtf2,%r2
copy %r26,%r3
cmpb,*<> %r0,%r28,.L261
copy %r4,%r27
copy %r27,%r4
copy %r6,%r24
copy %r7,%r23
copy %r6,%r26
ldo -48(%r30),%r29
b,l __unordtf2,%r2
copy %r7,%r25
cmpb,*<> %r0,%r28,.L260
copy %r4,%r27
extrd,u %r3,0+1-1,1,%r31
extrd,u %r6,0+1-1,1,%r28
cmpb,= %r28,%r31,.L255
extrd,u %r3,0,1,%r19
cmpb,*= %r0,%r19,.L265
copy %r3,%r28
.L261:
copy %r6,%r28
copy %r7,%r29
ldd -176(%r30),%r2
ldd -152(%r30),%r6
ldd -144(%r30),%r5
ldd -136(%r30),%r4
ldd -128(%r30),%r3
bve (%r2)
ldd,mb -160(%r30),%r7
.L255:
copy %r6,%r24
copy %r7,%r23
copy %r3,%r26
ldo -48(%r30),%r29
b,l __lttf2,%r2
copy %r5,%r25
cmpclr,*<= %r0,%r28,%r0
b,n .L264
.L260:
copy %r3,%r28
.L265:
copy %r5,%r29
ldd -176(%r30),%r2
ldd -152(%r30),%r6
ldd -144(%r30),%r5