diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-09-06 21:08:47 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-09-06 21:08:47 +0400 |
commit | fea5be50f657994ece42abf63c00766841f3a31b (patch) | |
tree | a86344b6dd9e795a229670728f0518ae2bad95f1 /docs | |
parent | 51dcfd3d5e2887f61096981dda6ea62314a267bc (diff) |
Doc update
svn path=/trunk/mono/; revision=33428
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ir-desc | 49 |
1 files changed, 35 insertions, 14 deletions
diff --git a/docs/ir-desc b/docs/ir-desc index 617e105b77a..0c1ab531f0b 100644 --- a/docs/ir-desc +++ b/docs/ir-desc @@ -1,20 +1,15 @@ Mono Intermediate Representation Documentation -Operation: OP_LOCALLOC - inst_left: - The value - ins->inst_left = *sp; - ins->cil_code = ip; +Operation: OP_ADDCC_IMM - This is the equivalent of alloca() in a C implementation: it - allocates a bunch of bytes on the stack dynamically. Local - variables are allocated statically in the stack instead. - - It is implemented by moving the stack pointer according to the - platform ABI: you may need to keep a specific frame register - to address local variables when LOCALLOC is used (the PPC code - does this, for example: ifyou're doing the s390 port I suggest - starting from that) + Add immediate that will set the carry flag. + + dreg: + Destination register + inst_imm + Immediate value to add. + sreg1: + Source register to add. Operation: OP_CALL_HANDLER. @@ -52,3 +47,29 @@ Operation: OP_CCASTCLASS throws an InvalidCastException exception otherwise. +Operation: OP_LOCALLOC + inst_left: + The value + ins->inst_left = *sp; + ins->cil_code = ip; + + This is the equivalent of alloca() in a C implementation: it + allocates a bunch of bytes on the stack dynamically. Local + variables are allocated statically in the stack instead. + + It is implemented by moving the stack pointer according to the + platform ABI: you may need to keep a specific frame register + to address local variables when LOCALLOC is used (the PPC code + does this, for example: ifyou're doing the s390 port I suggest + starting from that) + +Operation: OP_SUBCC_IMM + + Substract immediate that will set the borrow flag. + + dreg: + Destination register + inst_imm + Immediate value to add. + sreg1: + Source register to add. |