From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 120E63858402; Sun, 19 May 2024 00:45:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 120E63858402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716079532; bh=U5cZTbITSc32CS9XIVs93fbRPE+IFtLjMilMvDVvZwM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ChsvcTv6DuOHc3yMsosIu/XNVMRJOStt5xDsbuhdK0PlxY8OdhfSTczEZpzB7iYCs oifSeXZuvinna7mGyYiE/Idp1PpvZiK8Xai0NIefm+Nf4hltaazbiockqym+Mr9eTV L1x+zAf2jvZaNssgIvyI/QrEZ/Hereu+WdieTZa8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115153] [14/15 Regression] Error: bad immediate value for 8-bit offset - armv7ve Date: Sun, 19 May 2024 00:45:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.1.0 X-Bugzilla-Keywords: assemble-failure, build X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc bug_status target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D115153 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Error: bad immediate value |[14/15 Regression] Error: |for 8-bit offset - armv7ve |bad immediate value for | |8-bit offset - armv7ve Status|WAITING |NEW Target Milestone|--- |14.2 --- Comment #6 from Andrew Pinski --- I suspect r14-4365-g0731889c026bfe is the cause. ``` (define_insn "arm_atomic_loaddi2_ldrd" [(set (match_operand:DI 0 "register_operand" "=3Dr") (unspec_volatile:DI - [(match_operand:DI 1 "arm_sync_memory_operand" "Q")] + [(match_operand:DI 1 "memory_operand" "m")] VUNSPEC_LDRD_ATOMIC))] "ARM_DOUBLEWORD_ALIGN && TARGET_HAVE_LPAE" - "ldrd%?\t%0, %H0, %C1" - [(set_attr "predicable" "yes")]) + "ldrd\t%0, %H0, %1" +) ``` Most likely that should have been `ldrd_strd_offset_operand/Do` . There mig= ht be other places in that patch which made the same mistake too.=