From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by sourceware.org (Postfix) with ESMTPS id AA1073858422 for ; Wed, 23 Nov 2022 21:40:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AA1073858422 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-x12a.google.com with SMTP id be13so30067513lfb.4 for ; Wed, 23 Nov 2022 13:40:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aCx3rbFlXf4JWTSw7qrL03CKrrAbhDAjAmI5bfjtNjs=; b=KQ4GXnPAaJjok/cHuTegJpUvxE/ByoJw+Z9nr80xnBm91m5VoEDpHqT6qhxhF9/c3z shBHXl5D9pW+g4S0MHB1KkZcKD8QvIoes/+Gqj+F4G0hmH7kp1n95ZbSMH4zwZQgTmey nlkBeaTnZrAdSdwn4WTVjzYZmB07HqUHpAtw2kS8iV275gXOys/ckkAqsXhSW4Zvwz6y JGZQqS0ofHaK/Bt+lL7u1M3Xad1gH7+eh6QFclkt67qlvULekp2fLFvndnSWorGkwhXo xhNqDTpG9zh8wIuMBSR8qKXKYa8xO4unf6BhYqwmGE2NZFD0SxQ36E0YMTbRaSvBqGrZ U7Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=aCx3rbFlXf4JWTSw7qrL03CKrrAbhDAjAmI5bfjtNjs=; b=opotttr83riiP9/5SbKHFLcOKw3afAJILJ/Ma+QUFTH6KRS58sYg9QU9SFBV+Vuk6s /J1exlFBxmc/vTz4PCyMcj9BqD54TAg75XMYHEtyXkjDaep7S22rrbwnL5UBzqD33LMx 1hd1Eq6XHKKP51IixbIMUY+3GjGSrZR7DsS+ZdVDz4Ue5hlOdkpDUCU4L5VKyL7xIDz4 XKiJ0c3AO8NFAGHAqo7d2VCR4l6M24hZsp6wox6Xvvty6l1Mc/APv3a0ba19WKCgZytY FOneIHr2WewVltSCxrIM1Cw/IwkPLRK6MNcTRLul7cboNgdV3rZOR6QfGWcYaMkZSYTr RXvg== X-Gm-Message-State: ANoB5pkS6kZCrxSAS+WKX0PJZWU45rLYA6MaDNsSimSG6VzDmvzukpNO cxGkFxE0bn/SSi+RIUT2hTwr4J879fGP8XfmlNo= X-Google-Smtp-Source: AA0mqf4rPF8wGG2U+gZnt33zXN9wqkJJU5YpFWaq9Szb0+dBA2OhhE0wnV9Ue4JKPuLuBQlhcD3evxEInY/U1Pn4AwA= X-Received: by 2002:ac2:57d5:0:b0:4b3:abaf:b7d3 with SMTP id k21-20020ac257d5000000b004b3abafb7d3mr4207729lfo.144.1669239612745; Wed, 23 Nov 2022 13:40:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Wed, 23 Nov 2022 13:39:34 -0800 Message-ID: Subject: Re: [PATCH 0/3] x86: correct checking of matching operand sizes To: Jan Beulich Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3016.4 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 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: On Wed, Nov 23, 2022 at 2:32 AM Jan Beulich wrote: > > I've spotted a few cases where operand sizes matching wasn't really > checked, leading to malformed insn/operand combinations to be > accepted (in the first patch another anomaly is also taken care of). > This mainly, but not only affects Intel Syntax. > > 1: correct handling of LAR and LSL > 2: add missing CheckRegSize > 3: widen applicability and use of CheckRegSize > > Jan OK to all. Thanks. -- H.J.