bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/31376] New: AArch64: Assembler doesn't accept memory-form 2nd o


From: srinath.parvathaneni at arm dot com
Subject: [Bug gas/31376] New: AArch64: Assembler doesn't accept memory-form 2nd operand for gcsstr and gcssttr.
Date: Tue, 13 Feb 2024 12:51:27 +0000

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

            Bug ID: 31376
           Summary: AArch64: Assembler doesn't accept memory-form 2nd
                    operand for gcsstr and gcssttr.
           Product: binutils
           Version: 2.42
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: srinath.parvathaneni at arm dot com
  Target Milestone: ---

Following gcs instructions does not accept memory-form 2nd operand as per 
latest spec:

https://developer.arm.com/documentation/ddi0602/2023-12/Base-Instructions/GCSSTTR--Guarded-Control-Stack-unprivileged-Store-?lang=en

$ cat gcs.s 
        gcsstr x0,[x10]
        gcssttr x0,[x10]

$ aarch64-none-elf-as gcs.s -march=armv9.4-a+gcs
gcs.s: Assembler messages:
gcs.s:1: Error: expected an integer or stack pointer register at operand 2 --
`gcsstr x0,[x10]'
gcs.s:2: Error: expected an integer or stack pointer register at operand 2 --
`gcssttr x0,[x10]'

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