[Bug binutils/25277] microblaze opcode enumeration vs ISO/IEC TS 18661-3:2015

2019-12-14 Thread simark at simark dot ca
https://sourceware.org/bugzilla/show_bug.cgi?id=25277

Simon Marchi  changed:

   What|Removed |Added

 CC||simark at simark dot ca
  Component|gdb |binutils
Version|HEAD|unspecified
Product|gdb |binutils

--- Comment #1 from Simon Marchi  ---
Patches for opcodes should be sent to the binutils mailing list, at
binut...@sourceware.org.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/25279] New: vmload/vmrun/vmsave: objdump -d should print the operand %rax

2019-12-14 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25279

Bug ID: 25279
   Summary: vmload/vmrun/vmsave: objdump -d should print the
operand %rax
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: i at maskray dot me
  Target Milestone: ---

% cat a.s
vmload %rax
vmrun %rax
vmsave %rax
% as a.s -o a.o
% objdump -d a.o

a.o: file format elf64-x86-64


Disassembly of section .text:

 <.text>:
   0:   0f 01 davmload 
   3:   0f 01 d8vmrun  
   6:   0f 01 dbvmsave


In AMD64 Architecture. Programmer's Manual. Volume 2: System Programming
(https://www.amd.com/system/files/TechDocs/24593.pdf), rAX is specified as a
required operand.

> Instruction Encoding
> MnemonicOpcode  Description
> VMSAVE rAX  0F 01 DBSave additional guest state to VMCB.

While gas may accept vmload/vmrun/vmsave with an implicit %rax (currently
https://patchwork.kernel.org/patch/10822711/ makes use of this abbreviation),
objdump -d should probably decode them with an explicit %rax.

-- 
You are receiving this mail because:
You are on the CC list for the bug.