mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	Add the RD*SBASE, WR*SBASE and RDRAND instructions from version 7 of the AVX specification, Intel document 319433-007. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			382 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			382 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
;Testname=test; Arguments=-fbin -onewrdwr.bin; Files=stdout stderr newrdwr.bin
 | 
						|
 | 
						|
	bits 64
 | 
						|
 | 
						|
	rdfsbase eax
 | 
						|
	rdfsbase rax
 | 
						|
	rdgsbase eax
 | 
						|
	rdgsbase rax
 | 
						|
	rdrand ax
 | 
						|
	rdrand eax
 | 
						|
	rdrand rax
 | 
						|
	wrfsbase eax
 | 
						|
	wrfsbase rax
 | 
						|
	wrgsbase eax
 | 
						|
	wrgsbase rax
 | 
						|
 | 
						|
	osp rdfsbase eax
 | 
						|
	osp rdfsbase rax
 | 
						|
	osp rdgsbase eax
 | 
						|
	osp rdgsbase rax
 | 
						|
	osp wrfsbase eax
 | 
						|
	osp wrfsbase rax
 | 
						|
	osp wrgsbase eax
 | 
						|
	osp wrgsbase rax
 |