[llvm-dev] InstrStage, Interpretation of getUnits()

Rail Shafigulin via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 4 14:51:40 PST 2015


On Fri, Dec 4, 2015 at 2:36 PM, Pierre-André Saulais <
pierre-andre at codeplay.com> wrote:

> Hi Rail,
>
> This is a bitfield, each bit represents one functional unit. Unit 0 would
> be the LSB (1 << 0), unit 1 one bit above LSB (1 << 1),  and so on until
> unit N (1 << N). For example a return value of 9 means that units 0 and 3
> are used.
>
> Cheers,
> Pierre-Andre
>
>
> Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151204/cd0972ef/attachment.html>


More information about the llvm-dev mailing list