projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb95cec
)
Correct logical shift documentation
author
Tim Northover
<Tim.Northover@arm.com>
Tue, 7 May 2013 06:17:14 +0000
(06:17 +0000)
committer
Tim Northover
<Tim.Northover@arm.com>
Tue, 7 May 2013 06:17:14 +0000
(06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181290
91177308
-0d34-0410-b5e6-
96231b3b80d8
docs/LangRef.rst
patch
|
blob
|
history
diff --git
a/docs/LangRef.rst
b/docs/LangRef.rst
index 410f640776e510a62be505031626790a0f7e0b85..4d006f135c1c867d62648504e9b07d578206a29d 100644
(file)
--- a/
docs/LangRef.rst
+++ b/
docs/LangRef.rst
@@
-4008,7
+4008,7
@@
Example:
<result> = lshr i32 4, 1 ; yields {i32}:result = 2
<result> = lshr i32 4, 2 ; yields {i32}:result = 1
<result> = lshr i8 4, 3 ; yields {i8}:result = 0
- <result> = lshr i8 -2, 1 ; yields {i8}:result = 0x7F
FFFFFF
+ <result> = lshr i8 -2, 1 ; yields {i8}:result = 0x7F
<result> = lshr i32 1, 32 ; undefined
<result> = lshr <2 x i32> < i32 -2, i32 4>, < i32 1, i32 2> ; yields: result=<2 x i32> < i32 0x7FFFFFFF, i32 1>