[Bug gas/31043] Poor error message for wrong number of registers

2023-11-07 Thread jbeulich at suse dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31043

--- Comment #2 from Jan Beulich  ---
Hmm, both in 2.41 and in master I'm seeing "operand size mismatch", not
"unsupported instruction". That's still not ideal, but imo quite a bit better.
Yet I'm at a loss to explain why I would see a different error message than you
do.

Then again I'm also uncertain I properly understand your complaint: The title
says "wrong number of registers" when from description and the gcc bug I'd
rather infer "wrong register numbers".

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


[Bug gas/31043] Poor error message for wrong number of registers

2023-11-07 Thread haochen.jiang at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31043

Haochen Jiang  changed:

   What|Removed |Added

 CC||haochen.jiang at intel dot com,
   ||jbeulich at suse dot com

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


[Bug gas/31043] Poor error message for wrong number of registers

2023-11-07 Thread haochen.jiang at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31043

--- Comment #1 from Haochen Jiang  ---
Maybe we have a chance to emit an error for invalid_register_operand in
check_VecOperands under this scenario. But I am not sure if we really need
that.

BTW, this error type seems not used anymore. We could remove that if we are not
hoping this.

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


[Bug gas/24348] GNU (g)as is confusing about vmovdqu mnemonics

2023-11-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24348

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug gas/31043] Poor error message for wrong number of registers

2023-11-07 Thread pinskia at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31043

Andrew Pinski  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=24348

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


[Bug gas/24348] GNU (g)as is confusing about vmovdqu mnemonics

2023-11-07 Thread pinskia at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24348

Andrew Pinski  changed:

   What|Removed |Added

   See Also||https://sourceware.org/bugz
   ||illa/show_bug.cgi?id=31043

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


[Bug gas/31043] Poor error message for wrong number of registers

2023-11-07 Thread pinskia at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31043

Andrew Pinski  changed:

   What|Removed |Added

 Target||x86_64-linux-gnu

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


[Bug gas/31043] New: Poor error message for wrong number of registers

2023-11-07 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31043

Bug ID: 31043
   Summary: Poor error message for wrong number of registers
   Product: binutils
   Version: 2.41
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: sam at gentoo dot org
CC: pinskia at gcc dot gnu.org
  Target Milestone: ---

This came up in a GCC bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435.

foo.s:
```
.file   "foo.c"
.text
.p2align 4
.globl  f
.type   f, @function
f:
.LFB6709:
.cfi_startproc
endbr64
vmovdqa64   %ymm0, %ymm17
vblendps$240, %ymm1, %ymm17, %ymm0
ret
.cfi_endproc
.LFE6709:
.size   f, .-f
.ident  "GCC: (Gentoo Hardened 14.0.0_pre20231105 p8) 14.0.0 20231105
(experimental)"
.section.note.GNU-stack,"",@progbits
.section.note.gnu.property,"a"
.align 8
.long   1f - 0f
.long   4f - 1f
.long   5
0:
.string "GNU"
1:
.align 8
.long   0xc002
.long   3f - 2f
2:
.long   0x3
3:
.align 8
4:
```

```
$ as foo.s
a-foo.s: Assembler messages:
a-foo.s:11: Error: unsupported instruction `vblendps'
```

gas should give a better error message when the wrong registers are passed
(%ymm17 here).

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


[Bug ld/30722] ld tests 'Build property 3', 'Build property 4', 'Build property 5' fail (glibc-2.38?)

2023-11-07 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30722

--- Comment #16 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Jan Beulich :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eab996435fe65a421541f59557c5f1fd427573a3

commit eab996435fe65a421541f59557c5f1fd427573a3
Author: Jan Beulich 
Date:   Tue Nov 7 13:58:32 2023 +0100

ld/x86: reduce testsuite dependency on system object files

PR ld/30722
Tests looking for certain .note-section recorded properties may not
involve object files from the underlying platform (e.g. via using the C
compiler for linking): Such object files may themselves have similar
note sections, and hence they may influence the overall outcome.

For now convert just the tests known to be affected by crt*.o coming
with "ISA v3 needed" notes. Eventually other tests ought to be
converted, too.

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