Implement generic mad_sat

v2: Fix trailing whitespace
    Fix signed long overflow
    improve comment

Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>

git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@216320 91177308-0d34-0410-b5e6-96231b3b80d8
Add int3/uint3 to integer-gentype.inc

These were missing and caused mad24/mul24 with int3/uint3 arg type to fail

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>

git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@216321 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "Implement generic mad_sat"

This reverts commit cf62eded8b623a1c10d3692d25e5882b7939f564.

I didn't mean to commit this...  Jan has a v3 incoming

git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@216322 91177308-0d34-0410-b5e6-96231b3b80d8