mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-14 06:37:33 +00:00
sdiv overflow is outright undefined behavior, with or without the
'exact' keyword. Thanks to nlewycky for pointing this out! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ecf1f0179
commit
38da927703
@ -3564,7 +3564,7 @@ Instruction</a> </div>
|
||||
|
||||
<p>If the <tt>exact</tt> keyword is present, the result value of the
|
||||
<tt>sdiv</tt> is a <a href="#trapvalues">trap value</a> if the result would
|
||||
be rounded or if overflow would occur.</p>
|
||||
be rounded.</p>
|
||||
|
||||
<h5>Example:</h5>
|
||||
<pre>
|
||||
|
Loading…
x
Reference in New Issue
Block a user