Replace rdrnd with rdrand.

gas/testsuite/

2010-07-05  H.J. Lu  <hongjiu.lu@intel.com>

	AVX Programming Reference (June, 2010)
	* gas/i386/rdrnd.s: Replace rdrnd with rdrand.
	* gas/i386/rdrnd-intel.d: Likewise.
	* gas/i386/rdrnd.d: Likewise.
	* gas/i386/x86-64-rdrnd-intel.d: Likewise.
	* gas/i386/x86-64-rdrnd.d: Likewise.
	* gas/i386/x86-64-rdrnd.s: Likewise.

opcodes/

2010-07-05  H.J. Lu  <hongjiu.lu@intel.com>

	AVX Programming Reference (June, 2010)
	* i386-dis.c (mod_table): Replace rdrnd with rdrand.
	* i386-opc.tbl: Likewise.
	* i386-tbl.h: Regenerated.
This commit is contained in:
H.J. Lu 2010-07-05 17:14:22 +00:00
parent 77321f5360
commit d7d9a9f820
11 changed files with 68 additions and 51 deletions

View File

@ -1,3 +1,13 @@
2010-07-05 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (June, 2010)
* gas/i386/rdrnd.s: Replace rdrnd with rdrand.
* gas/i386/rdrnd-intel.d: Likewise.
* gas/i386/rdrnd.d: Likewise.
* gas/i386/x86-64-rdrnd-intel.d: Likewise.
* gas/i386/x86-64-rdrnd.d: Likewise.
* gas/i386/x86-64-rdrnd.s: Likewise.
2010-07-05 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10531

View File

@ -8,8 +8,8 @@
Disassembly of section .text:
0+ <foo>:
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrnd bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrnd ebx
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrnd bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrnd ebx
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrand bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrand ebx
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrand bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrand ebx
#pass

View File

@ -7,8 +7,8 @@
Disassembly of section .text:
0+ <foo>:
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrnd %bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrnd %ebx
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrnd %bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrnd %ebx
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrand %bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrand %ebx
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrand %bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrand %ebx
#pass

View File

@ -2,9 +2,9 @@
.text
foo:
rdrnd %bx
rdrnd %ebx
rdrand %bx
rdrand %ebx
.intel_syntax noprefix
rdrnd bx
rdrnd ebx
rdrand bx
rdrand ebx

View File

@ -8,16 +8,16 @@
Disassembly of section .text:
0+ <foo>:
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrnd bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrnd ebx
[ ]*[a-f0-9]+: 48 0f c7 f3 rdrnd rbx
[ ]*[a-f0-9]+: 66 41 0f c7 f0 rdrnd r8w
[ ]*[a-f0-9]+: 41 0f c7 f0 rdrnd r8d
[ ]*[a-f0-9]+: 49 0f c7 f0 rdrnd r8
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrnd bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrnd ebx
[ ]*[a-f0-9]+: 48 0f c7 f3 rdrnd rbx
[ ]*[a-f0-9]+: 66 41 0f c7 f0 rdrnd r8w
[ ]*[a-f0-9]+: 41 0f c7 f0 rdrnd r8d
[ ]*[a-f0-9]+: 49 0f c7 f0 rdrnd r8
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrand bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrand ebx
[ ]*[a-f0-9]+: 48 0f c7 f3 rdrand rbx
[ ]*[a-f0-9]+: 66 41 0f c7 f0 rdrand r8w
[ ]*[a-f0-9]+: 41 0f c7 f0 rdrand r8d
[ ]*[a-f0-9]+: 49 0f c7 f0 rdrand r8
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrand bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrand ebx
[ ]*[a-f0-9]+: 48 0f c7 f3 rdrand rbx
[ ]*[a-f0-9]+: 66 41 0f c7 f0 rdrand r8w
[ ]*[a-f0-9]+: 41 0f c7 f0 rdrand r8d
[ ]*[a-f0-9]+: 49 0f c7 f0 rdrand r8
#pass

View File

@ -7,16 +7,16 @@
Disassembly of section .text:
0+ <foo>:
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrnd %bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrnd %ebx
[ ]*[a-f0-9]+: 48 0f c7 f3 rdrnd %rbx
[ ]*[a-f0-9]+: 66 41 0f c7 f0 rdrnd %r8w
[ ]*[a-f0-9]+: 41 0f c7 f0 rdrnd %r8d
[ ]*[a-f0-9]+: 49 0f c7 f0 rdrnd %r8
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrnd %bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrnd %ebx
[ ]*[a-f0-9]+: 48 0f c7 f3 rdrnd %rbx
[ ]*[a-f0-9]+: 66 41 0f c7 f0 rdrnd %r8w
[ ]*[a-f0-9]+: 41 0f c7 f0 rdrnd %r8d
[ ]*[a-f0-9]+: 49 0f c7 f0 rdrnd %r8
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrand %bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrand %ebx
[ ]*[a-f0-9]+: 48 0f c7 f3 rdrand %rbx
[ ]*[a-f0-9]+: 66 41 0f c7 f0 rdrand %r8w
[ ]*[a-f0-9]+: 41 0f c7 f0 rdrand %r8d
[ ]*[a-f0-9]+: 49 0f c7 f0 rdrand %r8
[ ]*[a-f0-9]+: 66 0f c7 f3 rdrand %bx
[ ]*[a-f0-9]+: 0f c7 f3 rdrand %ebx
[ ]*[a-f0-9]+: 48 0f c7 f3 rdrand %rbx
[ ]*[a-f0-9]+: 66 41 0f c7 f0 rdrand %r8w
[ ]*[a-f0-9]+: 41 0f c7 f0 rdrand %r8d
[ ]*[a-f0-9]+: 49 0f c7 f0 rdrand %r8
#pass

View File

@ -2,17 +2,17 @@
.text
foo:
rdrnd %bx
rdrnd %ebx
rdrnd %rbx
rdrnd %r8w
rdrnd %r8d
rdrnd %r8
rdrand %bx
rdrand %ebx
rdrand %rbx
rdrand %r8w
rdrand %r8d
rdrand %r8
.intel_syntax noprefix
rdrnd bx
rdrnd ebx
rdrnd rbx
rdrnd r8w
rdrnd r8d
rdrnd r8
rdrand bx
rdrand ebx
rdrand rbx
rdrand r8w
rdrand r8d
rdrand r8

View File

@ -1,3 +1,10 @@
2010-07-05 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (June, 2010)
* i386-dis.c (mod_table): Replace rdrnd with rdrand.
* i386-opc.tbl: Likewise.
* i386-tbl.h: Regenerated.
2010-07-05 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.h (CpuFSGSBase): Fix a typo in comments.

View File

@ -10450,7 +10450,7 @@ static const struct dis386 mod_table[][2] = {
{
/* MOD_0FC7_REG_6 */
{ PREFIX_TABLE (PREFIX_0FC7_REG_6) },
{ "rdrnd", { Ev } },
{ "rdrand", { Ev } },
},
{
/* MOD_0FC7_REG_7 */

View File

@ -2394,7 +2394,7 @@ vpclmulhqhqdq, 3, 0x6644, 0x11, 1, CpuAVX|CpuPCLMUL, Modrm|Vex|VexOpcode=2|VexVV
rdfsbase, 1, 0xf30fae, 0x0, 2, CpuFSGSBase, Modrm|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Reg32|Reg64 }
rdgsbase, 1, 0xf30fae, 0x1, 2, CpuFSGSBase, Modrm|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Reg32|Reg64 }
rdrnd, 1, 0xfc7, 0x6, 2, CpuRdRnd, Modrm|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Reg16|Reg32|Reg64 }
rdrand, 1, 0xfc7, 0x6, 2, CpuRdRnd, Modrm|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Reg16|Reg32|Reg64 }
wrfsbase, 1, 0xf30fae, 0x2, 2, CpuFSGSBase, Modrm|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Reg32|Reg64 }
wrgsbase, 1, 0xf30fae, 0x3, 2, CpuFSGSBase, Modrm|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Reg32|Reg64 }
vcvtph2ps, 2, 0x6613, None, 1, CpuF16C, Modrm|Vex|VexOpcode=1|VexW=1|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|RegXMM, RegXMM }

View File

@ -27311,7 +27311,7 @@ const insn_template i386_optab[] =
{ { { 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0 } } } },
{ "rdrnd", 1, 0xfc7, 0x6, 2,
{ "rdrand", 1, 0xfc7, 0x6, 2,
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 0 } },