nasm/test/newrdwr.asm
H. Peter Anvin 0416b232ce Add RD*SBASE, WR*SBASE, RDRAND from AVX v7
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>
2010-07-06 09:17:18 -07:00

24 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