« NoSQL Storage Systems Never Violate ACID. Never? Well, Hardly Ever! | Main | Scality SCOP - $100,000 Incentive Fund for Open Source Software Developers »

Sep 14, 2010


TrackBack URL for this entry:

Listed below are links to weblogs that reference Understanding LLVM assembly with fractals part I - updated:


Feed You can follow this conversation by subscribing to the comment feed for this post.


Your understanding of multi-dimensional C arrays is incorrect. The C definition you gave is indeed equivalent to your IR code.

Also, it would be less ambiguous to refer to LLVM integer types as signless, not unsigned. Operations are signed or unsigned, integers do not have a signedness.

Finally, you give the impression that IR is portable. It isn't. There are various implicit assumptions often encoded in the code itself, such as the size of pointers. You can hand-craft portable IR, but it can be tricky.

Other than these issues, very nice tutorial.

Giorgio Regni

Thanks @Sebastian, you're right, the multi-dimensional array comparison was inacurate and signless is a better wording that unsigned for LLVM integer.
I updated the post!


Where you say: "Now %x is a register", you meant "%w".

Giorgio Regni

Thanks @Eli, I just fixed it.


Specialists state that personal loans aid people to live their own way, just because they can feel free to buy needed goods. Moreover, a lot of banks present consolidation loan for different classes of people.

casino online

There are changing certain presumptions regularly encoded in the code itself.

personal loans

I received 1 st loan when I was 20 and that supported my family very much. However, I need the commercial loan over again.

The comments to this entry are closed.