Re: [osol-code] compiler instruction likely

2008-09-24 Thread Casper . Dik
>Hi all, > >I am currently porting a driver from Linux to Solaris. The driver code >makes use of the likely macro that is defined on Linux to tell the >compiler that the code inside the likely call is the most likely code >path to optimize it. > >Does someone know if it is available on Solaris

Re: [osol-code] compiler instruction likely

2008-09-24 Thread William Reich
EMAIL PROTECTED] On Behalf Of Christian Kaiser Sent: Wednesday, September 24, 2008 7:55 AM To: opensolaris-code@opensolaris.org Subject: [osol-code] compiler instruction likely Hi all, I am currently porting a driver from Linux to Solaris. The driver code makes use of the likely macro that is defi

[osol-code] compiler instruction likely

2008-09-24 Thread Christian Kaiser
Hi all, I am currently porting a driver from Linux to Solaris. The driver code makes use of the likely macro that is defined on Linux to tell the compiler that the code inside the likely call is the most likely code path to optimize it. Does someone know if it is available on Solaris as well a