commit | 2c9f495e8f8c1b367662a5a7a32d216b70d3bb18 | [log] [tgz] |
---|---|---|
author | Aart Bik <ajcbik@google.com> | Mon Aug 01 16:52:27 2016 -0700 |
committer | Aart Bik <ajcbik@google.com> | Thu Aug 04 09:53:03 2016 -0700 |
tree | 69da2e9c6d337fe22273ae8bb2c417fb7177ce75 | |
parent | 89bd8358c0a69e8cd6456d81d88ef366e261f732 [diff] |
Implement single-precision round intrinsic in x86 Rationale: X86 does not provide a direct instruction for the required rounding and NaN and large positive numbers must be dealt with too. This CL generates code that correctly implements SP round in a reasonably efficient manner (I hope....) Test: 580-checker-round BUG=26327751 Change-Id: Ic5f4d9cff9c27c855a8ad577c51ed3ed37fb60cd