commit | e3ae196e2449d071c068c58795c50527d631f79c | [log] [tgz] |
---|---|---|
author | Tony Jiang <jtony@ca.ibm.com> | Mon Jun 12 17:58:42 2017 +0000 |
committer | Tony Jiang <jtony@ca.ibm.com> | Mon Jun 12 17:58:42 2017 +0000 |
tree | b476316ae5eb0d0abe309aa7af782c1a965a006a | |
parent | 20e04578a8e6c88f9a6e73a1826ebbae84fd8e94 [diff] |
[Power9] Added support for the modsw, moduw, modsd, modud hardware instructions. Note that if we need the result of both the divide and the modulo then we compute the modulo based on the result of the divide and not using the new hardware instruction. Commit on behalf of STEFAN PINTILIE. Differential Revision: https://reviews.llvm.org/D33940 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305210 91177308-0d34-0410-b5e6-96231b3b80d8