[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-dev
Subject:    Re: [LLVMdev] Indirect branch instruction
From:       Chris Lattner <sabre () nondot ! org>
Date:       2007-01-17 2:21:20
Message-ID: Pine.LNX.4.62.0701161820240.4857 () nondot ! org
[Download RAW message or body]

On Tue, 16 Jan 2007, Nicolas Geoffray wrote:
> What I was asking is : what is the assembly code generated by llvm for this
> kind of code? My guess was 2 jumps. But it might be 1 jump, based on
> the fact that llvm knows it switches on labels.

Ah, I see what you're saying.  I believe LLVM will currently make two 
jumps for that.  If that seriously bugs you, it can always be fixed :).

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic