mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 10:11:27 +01:00 
			
		
		
		
	+ more sext.b usage
This commit is contained in:
		
							parent
							
								
									c40cb181fe
								
							
						
					
					
						commit
						831a46eb2f
					
				| @ -106,6 +106,8 @@ implementation | |||||||
|           list.Concat(taicpu.op_reg_reg(A_ZEXT_W,reg2,reg1)) |           list.Concat(taicpu.op_reg_reg(A_ZEXT_W,reg2,reg1)) | ||||||
|         else if (CPURV_HAS_ZBB in cpu_capabilities[current_settings.cputype]) and (tcgsize2unsigned[tosize]=OS_64) and (fromsize=OS_S8) then |         else if (CPURV_HAS_ZBB in cpu_capabilities[current_settings.cputype]) and (tcgsize2unsigned[tosize]=OS_64) and (fromsize=OS_S8) then | ||||||
|           list.Concat(taicpu.op_reg_reg(A_SEXT_B,reg2,reg1)) |           list.Concat(taicpu.op_reg_reg(A_SEXT_B,reg2,reg1)) | ||||||
|  |         else if (CPURV_HAS_ZBB in cpu_capabilities[current_settings.cputype]) and (tosize=OS_S8) and (tcgsize2unsigned[fromsize]=OS_64) then | ||||||
|  |           list.Concat(taicpu.op_reg_reg(A_SEXT_B,reg2,reg1)) | ||||||
|         else if (CPURV_HAS_ZBB in cpu_capabilities[current_settings.cputype]) and (tcgsize2unsigned[tosize]=OS_64) and (fromsize=OS_S16) then |         else if (CPURV_HAS_ZBB in cpu_capabilities[current_settings.cputype]) and (tcgsize2unsigned[tosize]=OS_64) and (fromsize=OS_S16) then | ||||||
|           list.Concat(taicpu.op_reg_reg(A_SEXT_H,reg2,reg1)) |           list.Concat(taicpu.op_reg_reg(A_SEXT_H,reg2,reg1)) | ||||||
|         else if (CPURV_HAS_ZBB in cpu_capabilities[current_settings.cputype]) and (tosize=OS_S16) and (tcgsize2unsigned[fromsize]=OS_64) then |         else if (CPURV_HAS_ZBB in cpu_capabilities[current_settings.cputype]) and (tosize=OS_S16) and (tcgsize2unsigned[fromsize]=OS_64) then | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 florian
						florian