From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5566C3858D3C; Mon, 24 Apr 2023 06:33:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5566C3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682318039; bh=oLrxXbYUP1fi60GOXT7TkPhayZk9lGA4/wo6KnKoUO8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Pt7ylIuyvmwzDB38cBVJiv5oYjOLAoZJZNnljf1r0X3bl4NnMCGYVOROhsHMVYkkK HAItfU7i1DalvoRecaH/A5/SyDTRslYRGo7ucD0I8ppyMMhcC43YRpfM1HLNklwlpL PX23hOloQ7ePI34ZumAD6aOaC2Ghm1PrYHYRGkdo= From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109566] powerpc: unrecognizable insn for -mcpu=e6500, -mcpu=power3, ..., -mcpu=power10 Date: Mon, 24 Apr 2023 06:33:58 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.de 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=3D109566 --- Comment #4 from Sebastian Huber --- (In reply to Sebastian Huber from comment #3) > I get this error also for -mcpu=3Dpower3, ..., -mcpu=3Dpower10. I get the ICE only in 32-bit mode, the 64-bit mode works: powerpc-rtems6-gcc -O2 -mcpu=3Dpower10 -m64 -S test.c -dA -da -dp -o -=20 .file "test.c" .machine power10 .abiversion 2 .section ".text" .align 2 .p2align 4,,15 .globl __ieee754_fmod .type __ieee754_fmod, @function __ieee754_fmod: .LFB0: .cfi_startproc .localentry __ieee754_fmod,1 # BLOCK 2, count:118111600 (estimated locally) seq:0 # PRED: ENTRY [always] count:118111600 (estimated locally) (FALLTHRU) mfvsrd 9,1 # 7 [c=3D4 l=3D4] *movdi_internal64/25 srdi 9,9,32 # 8 [c=3D4 l=3D4] lshrdi3 rldicr. 9,9,33,10 # 49 [c=3D4 l=3D4] *rotldi3_mask_dot/0 # SUCC: 4 [50.0% (guessed)] count:59055800 (estimated locally) (CAN_FALLT= HRU) 3 [50.0% (guessed)] count:59055800 (estimated locally) (FALLTHRU,CAN_FALLT= HRU) beq 0,.L2 # 50 [c=3D4 l=3D4] *cbranch # BLOCK 3, count:118111600 (estimated locally) seq:1 # PRED: 2 [50.0% (guessed)] count:59055800 (estimated locally) (FALLTHRU,CAN_FALLTHRU) xxlxor 1,1,1 # 22 [c=3D4 l=3D4] *movdf_hardfloat64/8 # SUCC: EXIT [always] count:118111600 (estimated locally) blr # 53 [c=3D4 l=3D4] simple_return # BLOCK 4, count:0 (estimated locally) seq:2 # PRED: 2 [50.0% (guessed)] count:59055800 (estimated locally) (CAN_FALLT= HRU) 4 [always] count:0 (estimated locally) (DFS_BACK,CAN_FALLTHRU) .L2: # SUCC: 4 [always] count:0 (estimated locally) (DFS_BACK,CAN_FALLTHRU) b .L2 # 59 [c=3D4 l=3D4] jump .long 0 .byte 0,0,0,0,0,0,0,0 .cfi_endproc .LFE0: .size __ieee754_fmod,.-__ieee754_fmod .ident "GCC: (GNU) 13.0.1 20230424 (prerelease) [releases/gcc-13 f743863e09a]" .gnu_attribute 4, 9 .section .note.GNU-stack,"",@progbits=