Document memory operation flags.

Also move the extending loads and truncating stores into the bulkier
"Operations" section to improve the flow of the "Memory" section in the
language reference.
This commit is contained in:
Jakob Stoklund Olesen
2017-08-17 10:40:35 -07:00
parent 66da171050
commit 7e402a6104
2 changed files with 50 additions and 30 deletions

View File

@@ -190,7 +190,7 @@ call_indirect = Instruction(
#
SS = Operand('SS', entities.stack_slot)
Offset = Operand('Offset', offset32, 'In-bounds offset into stack slot')
Offset = Operand('Offset', offset32, 'Byte offset from base address')
x = Operand('x', Mem, doc='Value to be stored')
a = Operand('a', Mem, doc='Value loaded')
p = Operand('p', iAddr)
@@ -307,6 +307,7 @@ istore32 = Instruction(
x = Operand('x', Mem, doc='Value to be stored')
a = Operand('a', Mem, doc='Value loaded')
Offset = Operand('Offset', offset32, 'In-bounds offset into stack slot')
stack_load = Instruction(
'stack_load', r"""