diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-09-25 21:49:58 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2013-07-29 06:21:51 -0400 |
commit | cd316b541cab1866632bdd6873d41891093101a7 (patch) | |
tree | 58bbf5c1339bee11c47f7ae21236b0272538346e | |
parent | 944ea01850899309d5adbd642e9a88001ebb1e08 (diff) |
q15
-rw-r--r-- | docs/q15 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -28,3 +28,8 @@ This is a very accurate way to convert un8 into this format: // add (a, 0xffff) // xor (a, 0xffff) } + +Here is another very accurate way: + + return mulhrsw (a << 7, 0x807f) - a; + |