From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A4D3A0543; Mon, 13 Jun 2022 11:30:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AACD410F6; Mon, 13 Jun 2022 11:29:59 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 6FF374067C for ; Mon, 13 Jun 2022 11:29:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655112597; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=t0khBIode8KiHvniPkHT2uRWFDgMstwRx92c5FT/Rvs=; b=R2zt1hIF+whad53GetlmHaBfP1ipTVZjxIWaqDUwc7BGEoRhYvj6AR/f8edW34dgne7SsH B4Jw0NLjbo6DNcWEOQGvc9JfAWz5HgXWUNm7r3Q73/lvJZENtsHo5qR3JXMhsQPq9ppfmx rTiiZ33XTgD7gOR8DSrrGPAewAD3Qpg= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-548-GBE3WivnPFSk98T0AxGJXQ-1; Mon, 13 Jun 2022 05:29:54 -0400 X-MC-Unique: GBE3WivnPFSk98T0AxGJXQ-1 Received: by mail-lj1-f200.google.com with SMTP id a17-20020a2eb171000000b002556cda407aso525595ljm.9 for ; Mon, 13 Jun 2022 02:29:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t0khBIode8KiHvniPkHT2uRWFDgMstwRx92c5FT/Rvs=; b=pJnmI6s9mQAgLZysdD5SWxx4FnA4RS9kuPgpjM/qfX1/+Ye2PpjBWHMzZBgGS6+tX3 +PCiBsc8B+CYEMlN1YkLX25/bsD2ex3D4K7NWyjpiJtIrNJoWvuvqflFfOSZzW0/e/aZ iF64lT6QKyGh1pvxa9IBU1Agy+H93xCme0Ws1XjeB+UCnCL1dH8eN1LcuGXEUyZOMfSM hE++77uiOv/ehDX4GcC/qL2zW7GXcmqOY0anpi9qklHPQPyaVOjMIf1fNF4Q6DzwoQyd mjVGRqcKpC8QU7fmJ0gCoLPFeQyqzF2ryXyUc1iIHzWqehlR/KHlb7YX7zB6lUdLcyMm YKgw== X-Gm-Message-State: AOAM533l4fWqwnyDuTf0T2eMx7DjCdr1iojKwRnP60WnReX55zTWidsj RusuCFQMuPvS1KTOc0NnYamKpNZPSimEl9zMqqqfcTtuy1eDao9XbMswsDP31U6wBL+sURJ0EWs AIZEV/zrg6PPo8e6MgvE= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr85682977lfa.499.1655112592955; Mon, 13 Jun 2022 02:29:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwdONesHaSGrqiK4HYK+yR48mTk2+XFP1Opk1PS9pNU0aO50uC3t+5p3O3j8VGxm3Zf02Ahe7n7I0LKmGC/Ns= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr85682967lfa.499.1655112592781; Mon, 13 Jun 2022 02:29:52 -0700 (PDT) MIME-Version: 1.0 References: <20220609121701.716299-1-kda@semihalf.com> <20220609121701.716299-2-kda@semihalf.com> In-Reply-To: <20220609121701.716299-2-kda@semihalf.com> From: David Marchand Date: Mon, 13 Jun 2022 11:29:41 +0200 Message-ID: Subject: Re: [PATCH 1/3] eal/riscv: fix xmm_t casting for C++ To: Stanislaw Kardach Cc: dev , upstream@semihalf.com Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Jun 9, 2022 at 2:17 PM Stanislaw Kardach wrote: > > rte_xmm_t is a union type which wraps around xmm_t and maps its contents > to scalar structures. Since C++ has stricter type conversion rules than > C, the rte_xmm_t::x has to be used instead of C-casting. > Fixes: f22e705ebf12 ("eal/riscv: support RISC-V architecture") > Signed-off-by: Stanislaw Kardach Reviewed-by: David Marchand -- David Marchand