forked from Github_Repos/cvw
		
	made changes to makefile, now builds fastest version (RV64im) by default. Also removed redundent CFLAG funroll-all-loops (was duplicated)
This commit is contained in:
		
							parent
							
								
									77f7b179ee
								
							
						
					
					
						commit
						2c2c8d4d9b
					
				@ -10,9 +10,9 @@ sources=$(cmbase)/core_main.c $(cmbase)/core_list_join.c $(cmbase)/coremark.h  \
 | 
			
		||||
	$(PORT_DIR)/core_portme.h $(PORT_DIR)/core_portme.c $(PORT_DIR)/core_portme.mak \
 | 
			
		||||
	$(PORT_DIR)/crt.S $(PORT_DIR)/encoding.h $(PORT_DIR)/util.h $(PORT_DIR)/syscalls.c
 | 
			
		||||
ABI := $(if $(findstring "64","$(XLEN)"),lp64,ilp32)
 | 
			
		||||
ARCH := rv$(XLEN)i
 | 
			
		||||
ARCH := rv$(XLEN)im
 | 
			
		||||
PORT_CFLAGS = -g -mabi=$(ABI) -march=$(ARCH) -static -falign-functions=16 \
 | 
			
		||||
	-mbranch-cost=1 -DSKIP_DEFAULT_MEMSET -mtune=sifive-3-series -O3 -funroll-all-loops -finline-functions -falign-jumps=4 \
 | 
			
		||||
	-mbranch-cost=1 -DSKIP_DEFAULT_MEMSET -mtune=sifive-3-series -O3 -finline-functions -falign-jumps=4 \
 | 
			
		||||
	-fno-delete-null-pointer-checks -fno-rename-registers --param=loop-max-datarefs-for-datadeps=0 \
 | 
			
		||||
	-funroll-all-loops --param=uninlined-function-insns=8 -fno-tree-vrp -fwrapv -fipa-pta \
 | 
			
		||||
	-nostdlib -nostartfiles -ffreestanding -mstrict-align \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user