mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00

gas/ * config/tc-i386.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS. * doc/c-i386.texi : Document znver2. * gas/testsuite/gas/i386/arch-13.s: Updated for znver2. * gas/testsuite/gas/i386/arch-13.d: Updated. * gas/testsuite/gas/i386/arch-13-znver1.d: Updated. * gas/testsuite/gas/i386/arch-13-znver2.d: New file. * gas/testsuite/gas/i386/x86-64-arch-3.s: Updated for znver2. * gas/testsuite/gas/i386/x86-64-arch-3.d: Updated. * gas/testsuite/gas/i386/x86-64-arch-3-znver1.d: Updated. * gas/testsuite/gas/i386/x86-64-arch-3-znver2.d: New file. * gas/testsuite/gas/i386/i386.exp: Updated for new test. opcode/ * i386-gen.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS. * i386-init.h : Regenerated.
35 lines
463 B
ArmAsm
35 lines
463 B
ArmAsm
# Test -march=
|
|
.text
|
|
|
|
#SMAP feature
|
|
clac
|
|
stac
|
|
#ADCX ADOX
|
|
adcx %edx, %ecx
|
|
adox %edx, %ecx
|
|
#RDSEED
|
|
rdseed %eax
|
|
#CLZERO
|
|
clzero
|
|
#XSAVEC
|
|
xsavec (%ecx)
|
|
#XSAVES
|
|
xsaves (%ecx)
|
|
#CLFLUSHOPT
|
|
clflushopt (%ecx)
|
|
monitorx %eax, %ecx, %edx
|
|
monitorx %ax, %ecx, %edx
|
|
monitorx
|
|
mwaitx %eax, %ecx, %ebx
|
|
mwaitx
|
|
|
|
#CLWB instruction
|
|
clwb (%ecx) # CLWB
|
|
clwb -123456(%esp,%esi,8) # CLWB
|
|
|
|
# rdpid instruction
|
|
rdpid %eax
|
|
|
|
# wbnoinvd instruction
|
|
wbnoinvd
|