Ver Fonte

Merge branch 'master' of github.com:taddeus/peephole

Taddeüs Kroes há 14 anos atrás
pai
commit
599fbfc9e5
1 ficheiros alterados com 38 adições e 0 exclusões
  1. 38 0
      src/hello.s

+ 38 - 0
src/hello.s

@@ -0,0 +1,38 @@
+	.file	1 "hello.c"
+
+ # GNU C 2.7.2.3 [AL 1.1, MM 40, tma 0.1] SimpleScalar running sstrix compiled by GNU C
+
+ # Cc1 defaults:
+ # -mgas -mgpOPT
+
+ # Cc1 arguments (-G value = 8, Cpu = default, ISA = 1):
+ # -quiet -dumpbase -o
+
+gcc2_compiled.:
+__gnu_compiled_c:
+	.text
+	.align	2
+	.globl	main
+
+	.text
+
+	.loc	1 2
+	.ent	main
+main:
+	.frame	$fp,24,$31		# vars= 0, regs= 2/0, args= 16, extra= 0
+	.mask	0xc0000000,-4
+	.fmask	0x00000000,0
+	subu	$sp,$sp,24
+	sw	$31,20($sp)
+	sw	$fp,16($sp)
+	move	$fp,$sp
+	jal	__main
+	move	$2,$0
+	j	$L1
+$L1:
+	move	$sp,$fp			# sp not trusted here
+	lw	$31,20($sp)
+	lw	$fp,16($sp)
+	addu	$sp,$sp,24
+	j	$31
+	.end	main