commit | f61d5b22c1d6e488b81071a8b0fe97855b3765c0 | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Fri May 23 13:31:24 2014 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Fri May 23 13:31:24 2014 -0700 |
tree | 34fb78ae23cb30c2e2a8e3abceaa93725e9d5d92 | |
parent | bc6431351ea2dbafc1792154797b49b0cef80a7d [diff] |
Fix x86 floating-point constant emission. Previously, the basis of constant pooling was implemented, but two things were lacking: 1. The constant pools were not being emitted in the asm file. 2. A direct FP value was emitted in an FP instruction, e.g. "addss xmm0, 1.0000e00". Curiously, at least for some FP constants, llvm-mc was accepting this syntax. BUG= none R=jfb@chromium.org Review URL: https://codereview.chromium.org/291213003