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 | bff50208c8622fbcf8c8fdaac61ff81670de1423 (patch) | |
| tree | ab39674971382d5bb5d26ac2f3eef372113d986d /llvm/docs | |
| parent | 64995e1b3f9311c8a44af06e4bd1d8d49c4dc862 (diff) | |
| download | bcm5719-llvm-bff50208c8622fbcf8c8fdaac61ff81670de1423.tar.gz bcm5719-llvm-bff50208c8622fbcf8c8fdaac61ff81670de1423.zip | |
add support for alignment attributes on load/store instructions
llvm-svn: 36301
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/BytecodeFormat.html | 6 | ||||
| -rw-r--r-- | llvm/docs/LangRef.html | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/docs/BytecodeFormat.html b/llvm/docs/BytecodeFormat.html index 8cb072bb9d4..56fc0afce9c 100644 --- a/llvm/docs/BytecodeFormat.html +++ b/llvm/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/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 057fb9cdf80..c615bb3c501 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/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> |

