mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	assembler/bdw: Set math function
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
		
							parent
							
								
									9cf8e1b79c
								
							
						
					
					
						commit
						220f165008
					
				@ -1419,7 +1419,12 @@ mathinstruction: predicate MATH_INST execsize dst src srcimm math_function insto
 | 
			
		||||
		{
 | 
			
		||||
		  memset(&$$, 0, sizeof($$));
 | 
			
		||||
		  set_instruction_opcode(&$$, $2);
 | 
			
		||||
		  GEN(&$$)->header.destreg__conditionalmod = $7;
 | 
			
		||||
 | 
			
		||||
		  if (IS_GENp(8))
 | 
			
		||||
                      gen8_set_math_function(GEN8(&$$), $7);
 | 
			
		||||
		  else
 | 
			
		||||
                      GEN(&$$)->header.destreg__conditionalmod = $7;
 | 
			
		||||
 | 
			
		||||
		  set_instruction_options(&$$, $8);
 | 
			
		||||
		  set_instruction_predicate(&$$, &$1);
 | 
			
		||||
		  $4.width = $3;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user