From 952c5c128f9efaea89d41d882c4ea3ade7df4591 Mon Sep 17 00:00:00 2001 From: zakk Date: Fri, 26 Aug 2005 04:48:05 +0000 Subject: Itsa me, quake3io! git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea --- lcc/sparc/solaris/tst/limits.sbk | 384 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 384 insertions(+) create mode 100755 lcc/sparc/solaris/tst/limits.sbk (limited to 'lcc/sparc/solaris/tst/limits.sbk') diff --git a/lcc/sparc/solaris/tst/limits.sbk b/lcc/sparc/solaris/tst/limits.sbk new file mode 100755 index 0000000..c80d328 --- /dev/null +++ b/lcc/sparc/solaris/tst/limits.sbk @@ -0,0 +1,384 @@ +.global main +.section ".text" +.align 4 +main: +save %sp,-96,%sp +set .L2,%o0 +set 255,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L3,%o0 +set 65535,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L4,%o0 +set 0xffffffff,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L5,%o0 +set 0xffffffff,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L6,%o0 +set 127,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L7,%o0 +set 127,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L8,%o0 +set 32767,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L9,%o0 +set 2147483647,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L10,%o0 +set 2147483647,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L11,%o0 +set -128,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L12,%o0 +set -128,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L13,%o0 +set -32768,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L14,%o0 +set -2147483648,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +set .L15,%o0 +set -2147483648,%i5 +mov %i5,%o1 +mov %i5,%o2 +call printf; nop +mov %g0,%i0 +.L1: +ret; restore +.type main,#function +.size main,.-main +.section ".rodata" +.align 1 +.L15: +.byte 76 +.byte 79 +.byte 78 +.byte 71 +.byte 95 +.byte 77 +.byte 73 +.byte 78 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 108 +.byte 120 +.byte 61 +.byte 37 +.byte 108 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L14: +.byte 73 +.byte 78 +.byte 84 +.byte 95 +.byte 77 +.byte 73 +.byte 78 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L13: +.byte 83 +.byte 72 +.byte 82 +.byte 84 +.byte 95 +.byte 77 +.byte 73 +.byte 78 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L12: +.byte 83 +.byte 67 +.byte 72 +.byte 65 +.byte 82 +.byte 95 +.byte 77 +.byte 73 +.byte 78 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L11: +.byte 67 +.byte 72 +.byte 65 +.byte 82 +.byte 95 +.byte 77 +.byte 73 +.byte 78 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L10: +.byte 76 +.byte 79 +.byte 78 +.byte 71 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 108 +.byte 120 +.byte 61 +.byte 37 +.byte 108 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L9: +.byte 73 +.byte 78 +.byte 84 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L8: +.byte 83 +.byte 72 +.byte 82 +.byte 84 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L7: +.byte 83 +.byte 67 +.byte 72 +.byte 65 +.byte 82 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L6: +.byte 67 +.byte 72 +.byte 65 +.byte 82 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L5: +.byte 85 +.byte 76 +.byte 79 +.byte 78 +.byte 71 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 108 +.byte 120 +.byte 61 +.byte 37 +.byte 108 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L4: +.byte 85 +.byte 73 +.byte 78 +.byte 84 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L3: +.byte 85 +.byte 83 +.byte 72 +.byte 82 +.byte 84 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 +.align 1 +.L2: +.byte 85 +.byte 67 +.byte 72 +.byte 65 +.byte 82 +.byte 95 +.byte 77 +.byte 65 +.byte 88 +.byte 58 +.byte 9 +.byte 37 +.byte 48 +.byte 56 +.byte 120 +.byte 61 +.byte 37 +.byte 100 +.byte 10 +.byte 0 -- cgit v1.2.3