1. 23 Feb, 2015 5 commits
  2. 01 Jul, 2014 2 commits
  3. 28 Sep, 2013 1 commit
  4. 29 Jul, 2013 1 commit
  5. 15 Apr, 2013 1 commit
    • Jose Fonseca's avatar
      cl: Fix Windows build. · 6a531205
      Jose Fonseca authored
      Fixes two trivial issues:
      
      - on Windows large integers like 0xff000001 are not `int` objects, but
        rather `long` objects, so accept both types.
      
      - and the error message caused exception
      
         TypeError: cannot concatenate 'str' and 'long' objects
      6a531205
  6. 01 Apr, 2013 3 commits
    • Aaron Watry's avatar
      [CL]: Fix mul24 test and add mad24/mul24 uint tests · 7b95e3cd
      Aaron Watry authored
      Signed-off-by: Aaron Watry <awatry at gmail.com>
      Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
      7b95e3cd
    • Aaron Watry's avatar
      CL Builtin: Remove an invalid mad24 test · 6a34a73e
      Aaron Watry authored
      The CL spec says that the results of this test are undefined.  mad24 and mul24
      assume that the input values are 24-bit integers, and anything in the upper 8
      bits gets treated in an implementation-defined manner.
      
      Signed-off-by: Aaron Watry <awatry at gmail.com>
      Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
      6a34a73e
    • Aaron Watry's avatar
      CL Builtins: Fix sign-extension bug in rotate · 412e0669
      Aaron Watry authored
      When rotating a negative number right, sign extension was producing the wrong
      expected result.
      
      Signed-off-by: Aaron Watry <awatry at gmail.com>
      Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
      412e0669
  7. 12 Mar, 2013 1 commit
    • Aaron Watry's avatar
      Add a python generator for integer builtin function tests [v2] · b7184ad6
      Aaron Watry authored
      Functions tested:
          abs, abs_diff, add_sat, hadd, rhadd, clz, clamp, mad_hi,
          mad_sat, max, min, mul_hi, rotate, sub_sat, upsample, mad24, mul24
      
      Data Types tested:
         char, uchar, short, ushort, int, uint, long, ulong
      
      Sizes tested:
         Scalar, Vector sizes 2/4/8/16
      
      v2:
       - Move file into generated_tests and rename to generate-cl-int-builtins.py
       - Generate tests in cl/builtin/int (creating dir if necessary)
      b7184ad6