OSDN Git Service

Lower vector floating point arithmetic operations.
authorMatt Wala <wala@chromium.org>
Fri, 11 Jul 2014 22:43:51 +0000 (15:43 -0700)
committerMatt Wala <wala@chromium.org>
Fri, 11 Jul 2014 22:43:51 +0000 (15:43 -0700)
commit8d1072e7beddc254f78c4dc15e789fdb7c9631d4
tree1f76200da5924d052d06e969753a4daa39751491
parent78b4c0b8168dc867e0b822a3fec4f31ea1e3e16e
Lower vector floating point arithmetic operations.

This adds lowering code for fadd, fsub, fmul, fdiv, and frem. frem, having no native x86 counterpart, is implemented by making a helper call.

BUG=none
R=jvoung@chromium.org, stichnot@chromium.org

Review URL: https://codereview.chromium.org/389653002
src/IceInstX8632.cpp
src/IceInstX8632.h
src/IceTargetLoweringX8632.cpp
src/IceTargetLoweringX8632.h
tests_lit/llvm2ice_tests/vector-arith.ll [new file with mode: 0644]