From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id 798A53857379 for ; Fri, 10 Jun 2022 19:43:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 798A53857379 Received: by mail-pg1-x533.google.com with SMTP id q140so83275pgq.6 for ; Fri, 10 Jun 2022 12:43:57 -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=hyI/3ev1abxSHCSELBOd3KhEroN5o3l1vRarGnSCQm0=; b=uUcIcLJWztSaNuzGl0kaJzRLsRCvNOUWM0CMmPb4Ma6op1zhldMfLlNMMDvJ7kIZLI AQlXmEgvchnoKHfS3De53AILDU/HsNwjFA7TmsEy6AFc0GyI3o2zT+PWzcDfR7hXzf1A G/hLAzNhH98bYsIDsVgLMapA+70GTUbM41nphfbQNdknLsZ0U2YwX8ZxcQgNnvaU8IRe dn5+bel8PWKZOU233jyjX/3cYfCZqSkL/Vj9tYh2f9v1NMFvIBRTGUNTO5UopgjlE+V8 KDTJqsmOt1etbZrLckwoYMlCFf+W6WNAIT1PZnhuGYhtaNRn50n3xtFcuU0Ru73FynLB Pd6g== X-Gm-Message-State: AOAM5306UNOoeCIO2w6WPIKTnHNsDx5z9fKuOM/pk7vB7kBjl6AYOd80 Kmkm+oWnH7rNnTBQ1JyPeQneMiI3xE37/4UpuhYwD6b+ X-Google-Smtp-Source: ABdhPJwSK5zCaPSt42ML22eALu7VJP3FH2Bhj7CQTg9/uqVlPpXHFz4dj3YU8Aon36pI7SCu233V991Eeq9K3ZS9xFQ= X-Received: by 2002:a63:5415:0:b0:3fb:971:460a with SMTP id i21-20020a635415000000b003fb0971460amr41317400pgb.86.1654890236565; Fri, 10 Jun 2022 12:43:56 -0700 (PDT) MIME-Version: 1.0 References: <6fd28ca0-2af4-7335-18d3-31036dea7a4f@suse.com> In-Reply-To: <6fd28ca0-2af4-7335-18d3-31036dea7a4f@suse.com> From: "H.J. Lu" Date: Fri, 10 Jun 2022 12:43:20 -0700 Message-ID: Subject: Re: [PATCH 0/4] x86: follow-on to making disassembler thread-safe To: Jan Beulich Cc: Binutils , Alan Modra Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3019.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2022 19:43:59 -0000 On Fri, Jun 10, 2022 at 6:33 AM Jan Beulich wrote: > > Alan had noticed ubsan fallout from that combined with my conversion > of op_riprel to bool[]. In the course of addressing that I did notice > further things which could do with improving (or so I hope). > > 1: properly initialize struct instr_info instance(s) > 2: shrink prefix related disassembler state fields > 3: avoid string copy when swapping Vex.W controlled operands > 4: replace global scratch buffer > > Jan OK for all. Thanks. -- H.J.