Add a new file (dfp_helper.c) to the PowerPC implementation for Decimal Floating Point (DFP) emulation. This first version of the file declares a structure that will be used by DFP helpers. It also implements utilities that will initialize such a structure for either a long (64 bit) DFP instruction or an extended (128 bit, aka "quad") instruction. Some utility functions are annotated with the unused attribute in order to preserve build bisection. Signed-off-by: Tom Musta <tommusta@gmail.com> [agraf: Add never reached assert on dfp_prepare_rounding_mode()] Signed-off-by: Alexander Graf <agraf@suse.de>
		
			
				
	
	
		
			18 lines
		
	
	
		
			477 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			477 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
obj-y += cpu-models.o
 | 
						|
obj-y += translate.o
 | 
						|
ifeq ($(CONFIG_SOFTMMU),y)
 | 
						|
obj-y += machine.o mmu_helper.o mmu-hash32.o
 | 
						|
obj-$(TARGET_PPC64) += mmu-hash64.o arch_dump.o
 | 
						|
endif
 | 
						|
obj-$(CONFIG_KVM) += kvm.o kvm_ppc.o
 | 
						|
obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
 | 
						|
obj-y += dfp_helper.o
 | 
						|
obj-y += excp_helper.o
 | 
						|
obj-y += fpu_helper.o
 | 
						|
obj-y += int_helper.o
 | 
						|
obj-y += timebase_helper.o
 | 
						|
obj-y += misc_helper.o
 | 
						|
obj-y += mem_helper.o
 | 
						|
obj-$(CONFIG_USER_ONLY) += user_only_helper.o
 | 
						|
obj-y += gdbstub.o
 |