mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Also update the README.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8ca5248522
commit
d2f0db1b19
@ -985,13 +985,7 @@ define i1 @test(i8 %x) {
|
|||||||
|
|
||||||
//===---------------------------------------------------------------------===//
|
//===---------------------------------------------------------------------===//
|
||||||
|
|
||||||
These three functions all perform the same computation, but produce different
|
These functions perform the same computation, but produce different assembly.
|
||||||
assembly. On x86, they are sorted from slowest to fastest.
|
|
||||||
|
|
||||||
define i8 @udiv(i8 %x) readnone nounwind {
|
|
||||||
%A = udiv i8 %x, 250
|
|
||||||
ret i8 %A
|
|
||||||
}
|
|
||||||
|
|
||||||
define i8 @select(i8 %x) readnone nounwind {
|
define i8 @select(i8 %x) readnone nounwind {
|
||||||
%A = icmp ult i8 %x, 250
|
%A = icmp ult i8 %x, 250
|
||||||
|
Loading…
Reference in New Issue
Block a user