diff options
author | Michal Terepeta <michal.terepeta@gmail.com> | 2015-08-03 08:41:13 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-08-03 08:41:32 +0200 |
commit | 92f5385d8b2be50848a2496199a481f299f4b53a (patch) | |
tree | e335893d9ff65b3df9f34dd5191b7a785eeeabfb /rts/Sparks.h | |
parent | 37227d3400549c2a6844dfb8c34c0738edc69ecc (diff) | |
download | haskell-92f5385d8b2be50848a2496199a481f299f4b53a.tar.gz |
Support MO_U_QuotRem2 in LLVM backend
This adds support for MO_U_QuotRem2 in LLVM backend. Similarly to
MO_U_Mul2 we use the standard LLVM instructions (in this case 'udiv'
and 'urem') but do the computation on double the word width (e.g., for
64-bit we will do them on 128 registers).
Test Plan: validate
Reviewers: rwbarton, austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1100
GHC Trac Issues: #9430
Diffstat (limited to 'rts/Sparks.h')
0 files changed, 0 insertions, 0 deletions