f969413a82 
								
							 
						 
						
							
							
								
								Add ADDR_SPACE parameter to _CLC_V_V_VP_VECTORIZE  
							
							... 
							
							
							
							This macro is currently unused, but I plan to use it shortly.
The previous form did casts of pointers without an address space, which
doesn't work so well for CL 1.x.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 281563 
							
						 
						
							2016-09-15 00:17:22 +00:00  
				
					
						
							
							
								 
						
							
								a249f50970 
								
							 
						 
						
							
							
								
								Add _CLC_V_V_VP_VECTORIZE macro  
							
							... 
							
							
							
							Patch by: Pavel Ondračka
llvm-svn: 258932 
							
						 
						
							2016-01-27 14:52:07 +00:00  
				
					
						
							
							
								 
						
							
								2ca909d824 
								
							 
						 
						
							
							
								
								math: Add ldexp implementation  
							
							... 
							
							
							
							Signed-off-by: Aaron Watry <awatry@gmail.com>
Tom Stellard:
  - Add denormal handling.
  - Share vectorization code with r600 implementation.
Patch By: Aaron Watry
llvm-svn: 236639 
							
						 
						
							2015-05-06 20:53:32 +00:00  
				
					
						
							
							
								 
						
							
								9d0d374c5b 
								
							 
						 
						
							
							
								
								Implement step builtin  
							
							... 
							
							
							
							This has been tested with piglit, OpenCV, and the ocl conformance tests.
llvm-svn: 230970 
							
						 
						
							2015-03-02 15:29:41 +00:00  
				
					
						
							
							
								 
						
							
								1f28b14bba 
								
							 
						 
						
							
							
								
								Implement smoothstep builtin v2  
							
							... 
							
							
							
							This has been tested with piglit, OpenCV, and the ocl conformance tests.
v2:
  - Fix typo in smoothstep.h
llvm-svn: 230969 
							
						 
						
							2015-03-02 15:29:39 +00:00  
				
					
						
							
							
								 
						
							
								ef513d392b 
								
							 
						 
						
							
							
								
								Implement generic mad_sat  
							
							... 
							
							
							
							v2: Fix trailing whitespace
    Fix signed long overflow
    improve comment
v3: fix typo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 216923 
							
						 
						
							2014-09-02 17:55:02 +00:00  
				
					
						
							
							
								 
						
							
								9447097636 
								
							 
						 
						
							
							
								
								Revert "Implement generic mad_sat"  
							
							... 
							
							
							
							This reverts commit cf62eded8b623a1c10d3692d25e5882b7939f564.
I didn't mean to commit this...  Jan has a v3 incoming
llvm-svn: 216322 
							
						 
						
							2014-08-23 14:06:01 +00:00  
				
					
						
							
							
								 
						
							
								6bfac7ae69 
								
							 
						 
						
							
							
								
								Implement generic mad_sat  
							
							... 
							
							
							
							v2: Fix trailing whitespace
    Fix signed long overflow
    improve comment
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
llvm-svn: 216320 
							
						 
						
							2014-08-23 14:04:33 +00:00  
				
					
						
							
							
								 
						
							
								526fe2d501 
								
							 
						 
						
							
							
								
								Move clcmacro.h to avoid cluttering user namespace v2  
							
							... 
							
							
							
							v2: - use quotes instead of <>
    - add include to r600/lib/math/nextafter.c changed
Reviewed-by: Tom Stellard <tom@stellard.net>
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 211576 
							
						 
						
							2014-06-24 09:36:32 +00:00