bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/31375] New: AArch64: Assembler doesn't accept optional arg


From: srinath.parvathaneni at arm dot com
Subject: [Bug binutils/31375] New: AArch64: Assembler doesn't accept optional arguments for gcspopcx, gcspopx, and gcspushx.
Date: Tue, 13 Feb 2024 12:42:50 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31375

            Bug ID: 31375
           Summary: AArch64: Assembler doesn't accept optional arguments
                    for gcspopcx, gcspopx, and gcspushx.
           Product: binutils
           Version: 2.42
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: srinath.parvathaneni at arm dot com
  Target Milestone: ---

Following gcs instructions does not except the optional arguments as stated in 
latest spec:

https://developer.arm.com/documentation/ddi0602/2023-12/Base-Instructions/GCSPOPCX--Guarded-Control-Stack-Pop-and-Compare-exception-return-record--an-alias-of-SYS-?lang=en

$ cat gcs.s
       gcspushx xzr
       gcspopcx xzr
       gcspopx xzr
       gcspushx x0
       gcspopcx x0
       gcspopx x0
       gcspushx x30
       gcspopcx x30
       gcspopx x30

$ aarch64-none-elf-as gcs.s -march=armv9.4-a+gcs
gcs.s: Assembler messages:
gcs.s:1: Error: unexpected characters following instruction -- `gcspushx xzr'
gcs.s:2: Error: unexpected characters following instruction -- `gcspopcx xzr'
gcs.s:3: Error: unexpected characters following instruction -- `gcspopx xzr'
gcs.s:4: Error: unexpected characters following instruction -- `gcspushx x0'
gcs.s:5: Error: unexpected characters following instruction -- `gcspopcx x0'
gcs.s:6: Error: unexpected characters following instruction -- `gcspopx x0'
gcs.s:7: Error: unexpected characters following instruction -- `gcspushx x30'
gcs.s:8: Error: unexpected characters following instruction -- `gcspopcx x30'
gcs.s:9: Error: unexpected characters following instruction -- `gcspopx x30'

$ aarch64-none-elf-as --version
GNU assembler (unknown) 2.42.50.20240213
Copyright (C) 2024 Free Software Foundation, Inc.

-- 
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]