mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Merge branch 'main' of https://github.com/openhwgroup/cvw into main
This commit is contained in:
		
						commit
						034dabee54
					
				@ -31,6 +31,11 @@ main:
 | 
				
			|||||||
    #bseti t0, zero, 14  # turn on FPU
 | 
					    #bseti t0, zero, 14  # turn on FPU
 | 
				
			||||||
    csrs mstatus, t0
 | 
					    csrs mstatus, t0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    #Pull denormalized FP number from memory and pass it to fclass.S for coverage
 | 
				
			||||||
 | 
					    la t0, TestData
 | 
				
			||||||
 | 
					    flw ft0, 0(t0)
 | 
				
			||||||
 | 
					    fclass.s t1, ft0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Test legal instructions not covered elsewhere
 | 
					    # Test legal instructions not covered elsewhere
 | 
				
			||||||
    flq ft0, 0(a0)
 | 
					    flq ft0, 0(a0)
 | 
				
			||||||
    flh ft0, 8(a0)
 | 
					    flh ft0, 8(a0)
 | 
				
			||||||
@ -98,3 +103,7 @@ main:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    j done
 | 
					    j done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.section .data
 | 
				
			||||||
 | 
					.align 3
 | 
				
			||||||
 | 
					TestData:
 | 
				
			||||||
 | 
					.int 0x00100000 #Denormalized FP number
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user