mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Add a note about SSE4.1 roundss/roundsd.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125438 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
609d54ee1e
commit
d800cf0a50
@ -923,4 +923,15 @@ The insertps's of $0 are pointless complex copies.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
If SSE4.1 is available we should inline rounding functions instead of emitting
|
||||
a libcall.
|
||||
|
||||
floor: roundsd $0x01, %xmm, %xmm
|
||||
ceil: roundsd $0x02, %xmm, %xmm
|
||||
|
||||
and likewise for the single precision versions.
|
||||
|
||||
Currently, SelectionDAGBuilder doesn't turn calls to these functions into the
|
||||
corresponding nodes and some targets (including X86) aren't ready for them.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user