commit | 5dfdf5fc48bfa42067ff3e470cb1a1207eb8fe31 | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Fri Mar 20 12:56:07 2015 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Fri Mar 20 12:56:07 2015 -0700 |
tree | b3258d83ab36ab1cb243c28df6787f9f1570f0ab | |
parent | 927f7ccc6beac42ae894c43cbc75b82919052cb5 [diff] |
Subzero: Fix lowering of the fabs() intrinsic. The pand instruction for masking off the sign bit can operate on a register or an m128 memory location, but not a 32-bit or 64-bit memory location. This means we need to make sure f32 and f64 operands are first loaded into a register. BUG= none R=jvoung@chromium.org Review URL: https://codereview.chromium.org/1022123004