Changes in directory llvm/docs:
LangRef.html updated: 1.243 -> 1.244 --- Log message: The wrapping behavior of part_set is not desirable. Adjust the documentation to describe the desired behavior. --- Diffs of the changes: (+7 -7) LangRef.html | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.243 llvm/docs/LangRef.html:1.244 --- llvm/docs/LangRef.html:1.243 Mon May 14 11:14:57 2007 +++ llvm/docs/LangRef.html Mon May 14 11:50:20 2007 @@ -4700,15 +4700,15 @@ are replaced with corresponding bits from <tt>%repl</tt>. That is the 0th bit in <tt>%repl</tt> replaces the <tt>%lo</tt>th bit in <tt>%val</tt> and etc. up to the <tt>%hi</tt>th bit. -<p>In reverse mode, a similar computation is made except that the bits replaced -wrap around to include both the highest and lowest bits. For example, if a -16 bit value is being replaced then <tt>%lo=8</tt> and <tt>%hi=4</tt> would -cause these bits to be set: <tt>0xFF1F</tt>.</p> +<p>In reverse mode, a similar computation is made except that the bits are +reversed. That is, the <tt>0</tt>th bit in <tt>%repl</tt> replaces the +<tt>%hi</tt> bit in <tt>%val</tt> and etc. down to the <tt>%lo</tt>th bit. <h5>Examples:</h5> <pre> llvm.part.set(0xFFFF, 0, 4, 7) -> 0xFF0F - llvm.part.set(0xFFFF, 0, 7, 4) -> 0x0060 - llvm.part.set(0xFFFF, 0, 8, 3) -> 0x00F0 + llvm.part.set(0xFFFF, 0, 7, 4) -> 0xFF0F + llvm.part.set(0xFFFF, 1, 7, 4) -> 0xFF8F + llvm.part.set(0xFFFF, F, 8, 3) -> 0xFFE7 llvm.part.set(0xFFFF, 0, 3, 8) -> 0xFE07 </pre> </div> @@ -4751,7 +4751,7 @@ <a href="mailto:[EMAIL PROTECTED]">Chris Lattner</a><br> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2007/05/14 16:14:57 $ + Last modified: $Date: 2007/05/14 16:50:20 $ </address> </body> </html> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits