[perl #48326] [BUG] imcc register allocation does not consider PASM register usage
Klaas-Jan Stol via RT
bugs-parrot-track at netlabs.develooper.com
Sat Nov 29 19:04:58 UTC 2008
I was wrong. The input:
.pcc_sub main:
new P99, 'Integer'
set P99, 3
print P99
end
compiled to a .pbc file, and then disassembled:
C:\[...]\parrot>pbc_disassemble.exe tut.pbc
Seq_Op_Num- Relative-PC SrcLn#:
Current Source Filename tut.pasm
000000000000-000000000000 000002: new_p_sc P99,"Integer"
000000000001-000000000003 000003: set_p_ic P99,3
000000000002-000000000006 000004: print_p P99
000000000003-000000000008 000005: end
apparently parrot uses P99, as shown in the output of the disassembler.
Also, PASM regs can no longer be used in PIR mode.
closing ticket.
kjs
More information about the parrot-dev
mailing list