Skip to content
  • Sebastian Graf's avatar
    Add 'addWordC#' PrimOp · 6243bba7
    Sebastian Graf authored and Ben Gamari's avatar Ben Gamari committed
    This is mostly for congruence with 'subWordC#' and '{add,sub}IntC#'.
    I found 'plusWord2#' while implementing this, which both lacks
    documentation and has a slightly different specification than
    'addWordC#', which means the generic implementation is unnecessarily
    complex.
    
    While I was at it, I also added lacking meta-information on PrimOps
    and refactored 'subWordC#'s generic implementation to be branchless.
    
    Reviewers: bgamari, simonmar, jrtc27, dfeuer
    
    Reviewed By: bgamari, dfeuer
    
    Subscribers: dfeuer, thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D4592
    6243bba7