bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: sam at gentoo dot org
Subject: [Bug gas/31043] New: Poor error message for wrong number of registers
Date: Wed, 08 Nov 2023 04:45:27 +0000

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   0xc0000002
        .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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]