From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by sourceware.org (Postfix) with ESMTPS id B2A3E3858C39 for ; Wed, 4 Oct 2023 19:20:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B2A3E3858C39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-27777174297so89586a91.3 for ; Wed, 04 Oct 2023 12:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1696447207; x=1697052007; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nvX11FrVEsaNJkyU/8txvI/3Eqh4kiiRIjujLYTrAKU=; b=DoHN+VvyimK35rbpIFwjw+kYdTXyIOeDJ2DsWfWDy02ttdO8RLnKhAOzi/EuH8rGz6 oUhtEwCw4SlmAxKV2h6HMTLEaDxzSZRuGh4+CJMH/UIVXuKLPyiW7ZZ73dswmggUsr25 JHcjjhRfgOumY46yKWPNlfXbPjZOEcAPY1Asfgef4N95H42aoOPNznu6jJYUPyv0YYa2 7JP6Ffk5wCHo17oYQelXG0neOFrseCdVFObrhLmyfIms3CiRCjyBi4SfVEaRkb1qah28 utui7QFJozu3me1TJYL0i9stgHY5+IfsTGt5toRB07hT3mWhOoEbf0N95F9D4Imxrg0U nNaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696447207; x=1697052007; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nvX11FrVEsaNJkyU/8txvI/3Eqh4kiiRIjujLYTrAKU=; b=llpqgNCOi+NpacAPGliqb5g6Vfii6P9WPU7aub7g9HvZzg3jiJ9B7xr2HKlRs4Tokq tzgWln1RhPKB6+L25l8AfmOxZsfgIQ4kdZs+cL0kP0xNu9HdUi4qxUsWC9SoSW20PICd 6LktyUg1bdf5d4gcERzr+9c3mqSpPaZtZuTW1n24bK0A2SBQsLlbDGGwFESwMQsBHvFb CeNeDsu2Q9yZ7L7a+IYSEhtE/MSUaxBXGc2XPSXhk50BnCqWHBHWGsrbDioQ+zlItxPY cy7CDqA19Z+z6IFHyrvt5X4HOq8O83hoSf0qC2t8B/H4oVLLLPOQga9No7iA+UnFP1o0 KXOQ== X-Gm-Message-State: AOJu0YxGp5Uaz/9ku+YL2peVjNXPzI0KuM5+jB5l0uanKTndZ4DKKI5z rQ9geP5rAJLvpvtcMdRGo6wol7FFJJx0iSeW8fNW6Q== X-Google-Smtp-Source: AGHT+IGxr0GT9+i1tY8oLYtM7X9r0RIdqO+fWoN8EjvCkAYbiHzyLERY6A8N8TVgQAoyUJ5W2QP13hIzWGmmesmwC6o= X-Received: by 2002:a17:90b:4a85:b0:268:e5db:6e19 with SMTP id lp5-20020a17090b4a8500b00268e5db6e19mr3080828pjb.20.1696447207576; Wed, 04 Oct 2023 12:20:07 -0700 (PDT) MIME-Version: 1.0 References: <1525C65921357A3C+2023080507101006323211@rivai.ai> <5814e96a-9d86-d428-cf48-ec1ab80eb2d9@gmail.com> <960B8F718A41FF46+2023080507344044042924@rivai.ai> <91d19edb-6e56-b538-a0c3-3a322dba80ad@gmail.com> <1c7393c8-e17d-cf12-d051-acc9599d3669@rivosinc.com> In-Reply-To: <1c7393c8-e17d-cf12-d051-acc9599d3669@rivosinc.com> From: Joern Rennecke Date: Wed, 4 Oct 2023 20:19:56 +0100 Message-ID: Subject: Re: [RISC-V]: Re: cpymem for RISCV with v extension To: "Patrick O'Neill" Cc: GCC Patches , "juzhe.zhong@rivai.ai" , "kito.cheng" , "Kito.cheng" , Robin Dapp , Jeff Law Content-Type: multipart/mixed; boundary="0000000000003081e70606e8e507" X-Spam-Status: No, score=-9.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000003081e70606e8e507 Content-Type: text/plain; charset="UTF-8" On Wed, 4 Oct 2023 at 18:38, Patrick O'Neill wrote: > > Hi Joern, > > I'm seeing new failures introduced by this patch > (9464e72bcc9123b619215af8cfef491772a3ebd9). > > On rv64gcv: > FAIL: gcc.dg/pr90263.c scan-assembler memcpy My testing didn't flag this because I used elf targets. The expected behaviour now is to use vector instructions for rvv. so we shouldn't expect memcpy to appear there. I think the rvv case is suitably covered by the new tests, so we just have to avoid the failure here. Does the attached patch work for you? > FAIL: gfortran.fortran-torture/execute/intrinsic_count.f90 execution, > -O2 -fomit-frame-pointer -finline-functions -funroll-loops There seems to be an issue with my test setup regarding fortran, I'll have to investigate. --0000000000003081e70606e8e507 Content-Type: text/plain; charset="US-ASCII"; name="tmp.txt" Content-Disposition: attachment; filename="tmp.txt" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lnc4jdb20 ZGlmZiAtLWdpdCBhL2djYy90ZXN0c3VpdGUvZ2NjLmRnL3ByOTAyNjMuYyBiL2djYy90ZXN0c3Vp dGUvZ2NjLmRnL3ByOTAyNjMuYwppbmRleCAzMjIyYTUzMzFjMS4uMDllMDQ0NmY0NWMgMTAwNjQ0 Ci0tLSBhL2djYy90ZXN0c3VpdGUvZ2NjLmRnL3ByOTAyNjMuYworKysgYi9nY2MvdGVzdHN1aXRl L2djYy5kZy9wcjkwMjYzLmMKQEAgLTksNCArOSw0IEBAIGludCAqZiAoaW50ICpwLCBpbnQgKnEs IGxvbmcgbikKIH0KIAogLyogeyBkZy1maW5hbCB7IHNjYW4tYXNzZW1ibGVyICJtZW1wY3B5IiB7 IHRhcmdldCB7IGk/ODYtKi0qIHg4Nl82NC0qLSogfSB9IH0gfSAqLwotLyogeyBkZy1maW5hbCB7 IHNjYW4tYXNzZW1ibGVyICJtZW1jcHkiIHsgdGFyZ2V0IHsgISB7IGk/ODYtKi0qIHg4Nl82NC0q LSogfSB9IH0gfSB9ICovCisvKiB7IGRnLWZpbmFsIHsgc2Nhbi1hc3NlbWJsZXIgIm1lbWNweSIg eyB0YXJnZXQgeyAhIHsgaT84Ni0qLSogeDg2XzY0LSotKiByaXNjdl92IH0gfSB9IH0gfSAqLwo= --0000000000003081e70606e8e507--