Chang-Yi
Guest
|
Posted:
Thu Sep 15, 2005 8:15 am Post subject:
Simplescalar crosscompiler problem |
|
|
Hi all,
when i compiled SPEC CINT2000 186.Crafty this banchmark using
simplescalar crosscompiler, it generated the following error message
:
/tmp/cc0W3t6C.s: Assembler messages:
/tmp/cc0W3t6C.s:53: Error: unrecognized opcode `fixme'
/tmp/cc0W3t6C.s:58: Error: unrecognized opcode `b 3f'
/tmp/cc0W3t6C.s:82: Error: unrecognized opcode `fixme'
/tmp/cc0W3t6C.s:87: Error: unrecognized opcode `b 3f'
Does anyone know how to solve this problem ??
After i grep gcc source code i think it maybe cause by insn-output.c
---
static char *
output_110 (operands, insn)
rtx *operands;
rtx insn;
{
{
operands[4] = const0_rtx;
dslots_jump_total += 3;
dslots_jump_filled += 2;
return "FIXME\n
sll\t%3,%2,26\n\
\tbgez\t%3,1f\n\
\tsll\t%M0,%L1,%2\n\
\t%(b\t3f\n\
\tmove\t%L0,%z4%)\n\
\n\
1:\n\
\t%(beq\t%3,%z4,2f\n\
\tsll\t%M0,%M1,%2%)\n\
\n\
\tsubu\t%3,%z4,%2\n\
\tsrl\t%3,%L1,%3\n\
\tor\t%M0,%M0,%3\n\
2:\n\
\tsll\t%L0,%L1,%2\n\
3:";
}
}
---
My experiment envirment :
crosscompiler: gcc 2.7.2.3
target: sslittle-na-sstrix
all work are operate under linux console.
Thanks alot !! |
|