From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4FFC53858C1F; Mon, 11 Sep 2023 10:03:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FFC53858C1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694426590; bh=Ed0GFmCIadzBqOk95g7QqtokibwN6FCrLbvCc2u8XpM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=io9OrOaNV0IsIdbT5RFMD+2AP1ro1jXyf5pbmUQQYzqS1kNFkO/iW3P6ctIrJicSu CBkCPIdSeBjHQlEIxTe3TVNIQ+kw8t7bHBsboqSzSzIOA1lnnLjw4Qzuuc3JswFoZH SNu/Bgrsa0Zo+FBj+cvmH0DaOk2IfI2lo2PxcMfw= From: "malat at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff) Date: Mon, 11 Sep 2023 10:03:09 +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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: malat at debian 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: 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=3D111367 --- Comment #3 from Mathieu Malaterre --- Reduced test case: % cat bench_sort.cc #define HWY_PRAGMA(tokens) _Pragma(#tokens) #define HWY_PUSH_ATTRIBUTES(targets_str) HWY_PRAGMA(GCC target targets_str) #define HWY_BEFORE_NAMESPACE() HWY_PUSH_ATTRIBUTES(",cpu=3Dpower10") #include struct SortAscending {}; void VQSort(long long *, size_t, SortAscending); void HaveTimerStop(char *); HWY_BEFORE_NAMESPACE() void BenchAllColdSort() { char cpu100[100]; HaveTimerStop(cpu100); typedef long long T; constexpr size_t kSize =3D 10 * 1000; alignas(16) T items[kSize]; VQSort(items, kSize, SortAscending()); timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); } % /usr/lib/gcc-snapshot/bin/g++ -fstack-protector-strong -maltivec -mcpu=3Dpower8 -c bench_sort.cc=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /tmp/ccI9XaHH.s: Assembler messages: /tmp/ccI9XaHH.s:25: Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff) /tmp/ccI9XaHH.s:44: Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)=