diff options
author | Chuang-Yu Cheng <cycheng@multicorewareinc.com> | 2016-03-28 09:04:23 +0000 |
---|---|---|
committer | Chuang-Yu Cheng <cycheng@multicorewareinc.com> | 2016-03-28 09:04:23 +0000 |
commit | d5eb774eb6546388d9e96d7b112d9ea3d794854e (patch) | |
tree | cc55c80852a6d0750a9d5ec4061ac6b3c6b3bab8 /clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | |
parent | 80722719eb42cb2d4d374abd507d05a49862049d (diff) | |
download | bcm5719-llvm-d5eb774eb6546388d9e96d7b112d9ea3d794854e.tar.gz bcm5719-llvm-d5eb774eb6546388d9e96d7b112d9ea3d794854e.zip |
[Power9] Implement new altivec instructions: bcd* series
This patch implements the following altivec instructions:
- Decimal Convert From/to National/Zoned/Signed-QWord:
bcdcfn. bcdcfz. bcdctn. bcdctz. bcdcfsq. bcdctsq.
- Decimal Copy-Sign/Set-Sign:
bcdcpsgn. bcdsetsgn.
- Decimal Shift/Unsigned-Shift/Shift-and-Round:
bcds. bcdus. bcdsr.
- Decimal (Unsigned) Truncate:
bcdtrunc. bcdutrunc.
Total 13 instructions
Thanks Amehsan's advice! Thanks Kit's great help!
Reviewers: hal, nemanja, kbarton, tjablin, amehsan
http://reviews.llvm.org/D17838
llvm-svn: 264568
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp')
0 files changed, 0 insertions, 0 deletions