<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello,<br><br>I'm trying to evaluate the performance improvement of instruction scheduling on one of the inorder ARM processor, I was looking for ARM simulator and I found two (Simplescalar/ARM and SimIt-ARM)<br>The code generated using llvm-2.9 and llvm-gcc and gcc 3.2.<br>I used these command :<br><br>$ llvm-gcc -O3 -o test1.bc -c --emit-llvm test1.c<br>$ llc -O3 -o test1.s -march=arm test1.bc -mcpu=strongarm110<br>$ arm-linux-gcc test1.s  -mcpu=strongarm110 -static -O3 -o test1 <br>$ ./sim-uop test1<br><br>Unfortunately, got this message : <br><br>bogus opcode detected @ 0x00008370 [sim_main:sim-uop.c, line 497]<br><br>My questions are :<br><br>Am I doing cross compiling right? Is there a way to cross compiler using llvm-gcc?<br>Is there any modern open source ARM cycle accurate simulator that I can use with llvm-gcc?<br><br>Thanks in advance.<br><br>Regards,<br>Najem.                                       </div></body>
</html>