From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1E3EB3858C2C; Sat, 23 Sep 2023 19:31:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E3EB3858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695497470; bh=vf2AS2gxpJteTqjfXOA7g/FL51++tHttB9zPl3n/GAA=; h=From:To:Subject:Date:From; b=XcFqPuUbWvJUuwkYZ56+WLV+whvuOtquH3Hubl34ARYqY/Fd8mXpJEhe9WOt2zGcQ mjWQjqf1wV9mCTI8I08bTt3oxds5dARUsT93qUPcrx/3wban14cplZrzbZ21EHoBbw eneGx4+uzAZo1o3YK+UYQw0/D9wHdbOTGlrngcPk= From: "lasse.collin at tukaani dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111557] New: [RISC-V] The macro __riscv_unaligned_fast should be __riscv_misaligned_fast Date: Sat, 23 Sep 2023 19:31:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lasse.collin at tukaani dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D111557 Bug ID: 111557 Summary: [RISC-V] The macro __riscv_unaligned_fast should be __riscv_misaligned_fast Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: lasse.collin at tukaani dot org Target Milestone: --- The RISC-V C API Specification[1] has __riscv_misaligned_fast, __riscv_misaligned_slow, and __riscv_misaligned_avoid. The commit 6e23440b = [2] used "unaligned" instead of "misaligned" though. The spelling __riscv_unaligned_* was mentioned in [3] but in [4] it was changed to __riscv_misaligned_*. Clang doesn't have these macros yet but there is a recent pull request[5] t= hat uses the __riscv_misaligned_* spelling. [1] https://github.com/riscv-non-isa/riscv-c-api-doc/blob/master/riscv-c-ap= i.md [2] https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommitdiff;h=3D6e23440b5df4011bbe1= dbee74d47641125dd7d16 [3] https://github.com/riscv-non-isa/riscv-c-api-doc/issues/32 [4] https://github.com/riscv-non-isa/riscv-c-api-doc/pull/40 [5] https://github.com/llvm/llvm-project/pull/65756=