Description[arm64] Implement Float(32|64)(Min|Max) using fcsel.
Float(32|64)Min:
// (a < b) ? a : b
fcmp da, db
fcsel dd, da, db, lo
Float(32|64)Max:
// (b < a) ? a : b
fcmp db, da
fcsel dd, da, db, lo
BUG=
Committed: https://crrev.com/2f80165f226c64010c40ba597710039fa8f2c8b6
Cr-Commit-Position: refs/heads/master@{#31621}
Patch Set 1 #
Total comments: 5
Patch Set 2 : More local solution, as suggested. #
Total comments: 2
Patch Set 3 : Remove "Ternary". #
Messages
Total messages: 18 (5 generated)
|