val _ = Flag.guard Flags.verbose say ("Processing function: " ^ name)
- val _ = Flag.guard Flags.verbose say " Generating proto-x86_64 code..."
+ val _ = Flag.guard Flags.verbose say " Generating proto-blargCPU code..."
val assem = Codegen.codegen ir
val _ = Flag.guard Flags.assem
(fn () => List.app (TextIO.print o (Blarg.print)) assem) ()
(fn () => List.app (TextIO.print o
(fn (t, i) =>
(Temp.name t) ^ " => " ^ (
- if (i <= 15)
+ if (i <= 10)
then (Blarg.pp_oper (Blarg.REG (Blarg.numtoreg i)))
else
- "spill[" ^ Int.toString (i - Blarg.regtonum Blarg.PC) ^ "]")
+ "spill[" ^ Int.toString (i - 11) ^ "]")
^ "--"^ Int.toString i ^ "\n"))
colors) ()