diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2007-04-21 08:16:25 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2007-04-21 08:16:25 +0000 |
commit | 2330e4d4c4f8008d17f5a38ac0d7b04e139d4131 (patch) | |
tree | 50e224364619b5ef673361d3c9535b97f75473a1 /docs | |
parent | 1b7f584fd81b4c0df42e06be79af7d7401d3b01d (diff) | |
download | external_llvm-2330e4d4c4f8008d17f5a38ac0d7b04e139d4131.zip external_llvm-2330e4d4c4f8008d17f5a38ac0d7b04e139d4131.tar.gz external_llvm-2330e4d4c4f8008d17f5a38ac0d7b04e139d4131.tar.bz2 |
add support for alignment attributes on load/store instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/BytecodeFormat.html | 6 | ||||
-rw-r--r-- | docs/LangRef.html | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/BytecodeFormat.html b/docs/BytecodeFormat.html index 8cb072b..56fc0af 100644 --- a/docs/BytecodeFormat.html +++ b/docs/BytecodeFormat.html @@ -1587,15 +1587,15 @@ possible. </p> <tr><td>Call+FastCC+TailCall</td><td>59</td><td>5</td><td>1.5</td></tr> <tr><td>Call+FastCC</td><td>60</td><td>5</td><td>1.5</td></tr> <tr><td>Call+CCC+TailCall</td><td>61</td><td>5</td><td>1.5</td></tr> - <tr><td>Load+Volatile</td><td>62</td><td>3</td><td>1.3</td></tr> - <tr><td>Store+Volatile</td><td>63</td><td>3</td><td>1.3</td></tr> + <tr><td>Load+Attributes</td><td>62</td><td>7</td><td>2.0</td></tr> + <tr><td>Store+Attributes</td><td>63</td><td>7</td><td>2.0</td></tr> </tbody> </table> <p><b><a name="pi_note">* Note: </a></b> These aren't really opcodes from an LLVM language perspective. They encode information into other opcodes without reserving space for that information. -For example, opcode=63 is a Volatile Store. The opcode for this +For example, opcode=63 is an Attributed Store. The opcode for this instruction is 25 (Store) but we encode it as 63 to indicate that is a Volatile Store. The same is done for the calling conventions and tail calls. In each of these entries in range 56-63, the opcode is documented as the base diff --git a/docs/LangRef.html b/docs/LangRef.html index 057fb9c..c615bb3 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2609,7 +2609,7 @@ instructions), the memory is reclaimed.</p> Instruction</a> </div> <div class="doc_text"> <h5>Syntax:</h5> -<pre> <result> = load <ty>* <pointer><br> <result> = volatile load <ty>* <pointer><br></pre> +<pre> <result> = load <ty>* <pointer>[, align <alignment>]<br> <result> = volatile load <ty>* <pointer>[, align <alignment>]<br></pre> <h5>Overview:</h5> <p>The '<tt>load</tt>' instruction is used to read from memory.</p> <h5>Arguments:</h5> @@ -2634,8 +2634,8 @@ instructions. </p> Instruction</a> </div> <div class="doc_text"> <h5>Syntax:</h5> -<pre> store <ty> <value>, <ty>* <pointer> <i>; yields {void}</i> - volatile store <ty> <value>, <ty>* <pointer> <i>; yields {void}</i> +<pre> store <ty> <value>, <ty>* <pointer>[, align <alignment>] <i>; yields {void}</i> + volatile store <ty> <value>, <ty>* <pointer>[, align <alignment>] <i>; yields {void}</i> </pre> <h5>Overview:</h5> <p>The '<tt>store</tt>' instruction is used to write to memory.</p> |