diff options
author | Amy Kwan <amy.kwan1@ibm.com> | 2020-07-27 23:45:54 -0500 |
---|---|---|
committer | Amy Kwan <amy.kwan1@ibm.com> | 2020-07-31 10:58:07 -0500 |
commit | c4e574323210feda1a3988e85fdd93b90a63d1b1 (patch) | |
tree | 9262365cc8264b97315b345e93a5358cb20cbaba /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 7ad6ea520fe49e9320bd15a4daf88e36259efedc (diff) | |
download | llvm-c4e574323210feda1a3988e85fdd93b90a63d1b1.zip llvm-c4e574323210feda1a3988e85fdd93b90a63d1b1.tar.gz llvm-c4e574323210feda1a3988e85fdd93b90a63d1b1.tar.bz2 |
[PowerPC] Implement low-order Vector Modulus Builtins, and add Vector Multiply/Divide/Modulus Builtins Tests
Power10 introduces new instructions for vector multiply, divide and modulus.
These instructions can be exploited by the builtin functions: vec_mul, vec_div,
and vec_mod, respectively.
This patch aims adds the function prototype, vec_mod, as vec_mul and vec_div
been previously implemented in altivec.h.
This patch also adds the following front end tests:
vec_mul for v2i64
vec_div for v4i32 and v2i64
vec_mod for v4i32 and v2i64
Differential Revision: https://reviews.llvm.org/D82576
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions