Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add rhadd builtin | Aaron Watry | 2013-08-15 | 1 | -0/+2 |
rhadd = (x+y+1)>>1 Implemented as: (x>>1) + (y>>1) + ((x&1)|(y&1)) This prevents us having to do assembly addition and overflow detection Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 188477 |