[dtrace-discuss] nop instruction generated by sun cc
Joerg Schilling
Joerg.Schilling at fokus.fraunhofer.de
Tue Sep 11 08:46:47 PDT 2007
"???? TaoJie" <eulertao at gmail.com> wrote:
> there's no sun studio mailling list in opensolaris.org, i raise my problem
> here :)
>
> a simple piece of code, 2 nested while loops, and some if statements inside
> each while loop.
>
> i compiled this program in Solaris with sun cc (sun studio 12) and gcc.
> and i compiled it in Debian with gcc as well.
>
> Then I dumped (disassembled) these 3 programs.
> I found that there were alway serveral nop instructions followed with the
> jmp instruction in the program generated by suncc.
> and this problem didn't exist in the other 2 program generated by gcc.
This is how unoptimized sparc code looks since at least 21 years.
Jörg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
More information about the dtrace-discuss
mailing list