From patchwork Fri Feb 2 11:33:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 195811 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp362722dyc; Fri, 2 Feb 2024 03:33:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGo/69Y+gCUHK43Ss2pWw6/MVpedk+GlqPXfZj4qx2q9/ICc1aQGb3VMXoa9D+G+Bw47LmT X-Received: by 2002:a05:620a:45a8:b0:785:341f:4d8c with SMTP id bp40-20020a05620a45a800b00785341f4d8cmr3478345qkb.8.1706873607815; Fri, 02 Feb 2024 03:33:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706873607; cv=pass; d=google.com; s=arc-20160816; b=fS62GBaonlpt9vfEgGEJkslbFqzG9znNlna+OrfvAGTGDjNE1JzPTRxXMQOAX2kTNA eNqZclpylkx0b+F7Kew6Lg8u8+N+J4oeacQmgrpP+BsX8MW9kXhK4pVJ3Z2sUsl9dcPQ PyXonKLWuzihU9c9UqTVVdJ1bQGHgVgf3S/+v+vuN37iofBd5V8o7IKnOtyOUfFYnnH6 svMAxoG4OCKPz5uwQLJFgWfEJ2gB6qrRxkWXv19rrJ8+Anwg6HeOeyt6ZALeJ9UnAvRb lxquZKmUAY31lJFvo+qcukcweAKm31dziirpDFhCBDV0jU6Y6JVCItGYf6obyalwsyRW O08A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=RdC0g5GH9PozvY0bs40a58l7AP8R/pDP55gJUYL+XkA=; fh=8Mpp3qAyLaiMX+FZyP1K0XLv1iXkG01biP+lmFD92zk=; b=pNCUVLtcsKsuudRzPpsR6ozpgIOb2SQvWwUIK+VNdCcmHKKQykQhbzFR8fOFsFVOOH OikSQyShwDGfDvMorImarvIJg8546UNxMhO5XQfaIJUDeU3BOcKqrbWVxpdlNP8WB8Kb tkFzQbubpYqEzjoKNPasInGg1hXD4MqBzdZxyqpYVxcyVMOnE7/MigM63++xb3nNWxCx HFICs3DrVt8R6nuKgnNp9YxQPOe2k4RM47st2z+JhPMEcxVIS6cdyYa8IaBQ+KW43EUr rzLkgbiR3bjOlquNJFgyDPbFb0g5ti5u6bM2TksgW+ZBjPAub6XgWKX6o+4DYKhIkb+W YG0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AGixhYRY; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCUmtBKVbEY4eunQGAAmPrJbuXS4q13mMk+bV4R3dzoy0olBwTJdf7Q3IeSEQSKWTkCe9x0cQvjRSzQISsmg6XxS18l4OQ== Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id p13-20020a05620a112d00b00783a280dd83si1692927qkk.592.2024.02.02.03.33.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 03:33:27 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AGixhYRY; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7ABB53857C43 for ; Fri, 2 Feb 2024 11:33:27 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id 834EA3858403 for ; Fri, 2 Feb 2024 11:33:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 834EA3858403 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 834EA3858403 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::433 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706873596; cv=none; b=Soj+3yE/Ic29GM/1nVEwOyMVPtiDIjOOdHRTXdy8rU+Y/HS4urc66/HlMxaeI4fH6jFPo8q+XDI+wMntUH6o1xMdqfOzLUjIRu7JxoUzPbaHd+seeRGqgvOug6tUTLX0vtDF5Ig7PZv65N7PLmIXjAkjLGioOlFZevo5ZGUc5kw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706873596; c=relaxed/simple; bh=1PplG8UMID10foGN4/hAQnI+xax1rNAXvx33AsW+lz8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=mBU/54rtnNv7NVViFSy9fKgw6216rwYtsrM7lMFFx3SUeosgwLhHhp5JUiJNYi2K5bUjCiXtdvWZ7HjlJWAvyz+8ZiMFjS87l9NRHLb4YtRvhrL4EqOwFlDhjUj25X4sA9mfsbfcHqOWOqJ+zrq+D9My+NuDMn0cpLjE9fRjoqU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6d9b37f4804so2274019b3a.1 for ; Fri, 02 Feb 2024 03:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706873592; x=1707478392; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RdC0g5GH9PozvY0bs40a58l7AP8R/pDP55gJUYL+XkA=; b=AGixhYRY5TzGGpxFQuRKr4eBlGR6+PX5jaRL4Bk1CkzPOIzDT4i3SuAvMEXUOvupxc i92S93NMv7tCq2iMAAQJW+0n+mwEzq4KfsntdN52IOgvCDjmr4tEg7cbRvsG3sbQzIx8 2ccmyAQx5/vndb17+Jn3jaLLzN8fbLuxpihae7XFW9GqW2jUwnN19fW3QAWB64QqABCG xw/rSJtE7wr1tHcC8eHzqg/89plsMDOLzNFOzVKO7ERUl/SOQT8hySjIy6wGHKZp07kl XR27JHq2+PaeBtQz8F1JaMX20cwxJxYVCuBVdnyXAbdw+6II7ar9uSYxMtttePkEVQy3 boYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706873592; x=1707478392; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RdC0g5GH9PozvY0bs40a58l7AP8R/pDP55gJUYL+XkA=; b=KNORrd3qd6agxR9XEnxSthgiHqXBtW23NKat2omVuT4PmGHTY/iBX4WX+a04v4aFUP R2YwM8VMvRYZ6CuPFc/IleSc0L2OijqR5TRdBHx8psJh1S01s7PvGhIQ2JLzl0LTHfSS U8DZ4gJshxTS8RhNEqpiMtwvTxRxM1tPkuTwuTtnUgiKvlQCxjtxfoE7Axzccvjo00f0 BQBKVzAS5xD8Yjd7s65VNHIBsVVhOt6FMa9fKm1bi1UG17fLdt8J8dn1WhexrTmiqXxR e4yxjSVbYarS8y3lvtdckcePuBDK6ANkXPtClzjGvrOsV7IT6ajeYNFZ5tKhCzNpmmpc qu/w== X-Gm-Message-State: AOJu0YyhYoJuDQUFLtTCSeTmRiFntPgKkw0+rulJmV0fnKFfMlS7CeJ/ XEZeIGnYMJINJtkBrSSmI0Z07cGhVE2h+N4E+VKEApWlTc1DNJcN1cD+VD35 X-Received: by 2002:a05:6a20:da88:b0:19c:6620:483c with SMTP id iy8-20020a056a20da8800b0019c6620483cmr2980073pzb.23.1706873592362; Fri, 02 Feb 2024 03:33:12 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX836ZJqUSUapCSe6vVGziEUzCizcANU6/9kY4evKCQGwaKHhYtccw7ODHHl/6+IZixwQeL6O+yo5j7gKBiGTsjG5vqenvJ Received: from gnu-cfl-3.localdomain ([172.56.169.51]) by smtp.gmail.com with ESMTPSA id a7-20020a056a0011c700b006dfe402357bsm1371489pfu.120.2024.02.02.03.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 03:33:11 -0800 (PST) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 8BA2C740172; Fri, 2 Feb 2024 03:33:10 -0800 (PST) From: "H.J. Lu" To: binutils@sourceware.org Cc: JBeulich@suse.com, wwwhhhyyy333@gmail.com Subject: [PATCH v2] x86: Disallow instructions with length > 15 bytes Date: Fri, 2 Feb 2024 03:33:10 -0800 Message-ID: <20240202113310.145132-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3023.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789786700237436357 X-GMAIL-MSGID: 1789786700237436357 It is a hard error when an instruction length exceeds the limit of 15 bytes: [hjl@gnu-cfl-3 tmp]$ cat x.s .text xacquire lock addq $0x11223344, %fs:(,%eax) [hjl@gnu-cfl-3 tmp]$ gcc -c x.s x.s: Assembler messages: x.s:2: Warning: instruction length of 16 bytes exceeds the limit of 15 [hjl@gnu-cfl-3 tmp]$ objdump -dw x.o x.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <.text>: 0: 64 67 f2 f0 48 81 04 05 00 00 00 00 44 33 22 xacquire lock (bad) f: 11 .byte 0x11 [hjl@gnu-cfl-3 tmp]$ and [hjl@gnu-cfl-3 tmp]$ cat z.s addq $0xe0, %fs:0, %rdx [hjl@gnu-cfl-3 tmp]$ as -o z.o z.s z.s: Assembler messages: z.s:1: Warning: instruction length of 16 bytes exceeds the limit of 15 [hjl@gnu-cfl-3 tmp]$ objdump -dw z.o z.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <.text>: 0: 64 62 f4 ec 18 81 04 25 00 00 00 00 e0 00 00 (bad) ... [hjl@gnu-cfl-3 pr31323]$ Instructions with length > 15 bytes are always invalid. It is quite easy to generate invalid instructions with AVX now. We should issue an error when instruction length exceeds the limit of 15 bytes. PR gas/31323 * config/tc-i386.c (output_insn): Issue an error when instruction length exceeds the limit of 15 bytes. * testsuite/gas/i386/oversized16.l: Updated. * testsuite/gas/i386/oversized64.l: Likewise. * testsuite/gas/i386/x86-64-apx-inval.l: New file. * testsuite/gas/i386/x86-64-apx-inval.s: Likewise. --- gas/config/tc-i386.c | 4 +-- gas/testsuite/gas/i386/oversized16.l | 30 +++++++++++------------ gas/testsuite/gas/i386/oversized64.l | 30 +++++++++++------------ gas/testsuite/gas/i386/x86-64-apx-inval.l | 3 +++ gas/testsuite/gas/i386/x86-64-apx-inval.s | 4 +++ gas/testsuite/gas/i386/x86-64.exp | 1 + 6 files changed, 40 insertions(+), 32 deletions(-) create mode 100644 gas/testsuite/gas/i386/x86-64-apx-inval.l create mode 100644 gas/testsuite/gas/i386/x86-64-apx-inval.s diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 3e1811a092d..8f3a1b6f686 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -11780,8 +11780,8 @@ output_insn (const struct last_insn *last_insn) { j = encoding_length (insn_start_frag, insn_start_off, frag_more (0)); if (j > 15) - as_warn (_("instruction length of %u bytes exceeds the limit of 15"), - j); + as_bad (_("instruction length of %u bytes exceeds the limit of 15"), + j); else if (fragP) { /* NB: Don't add prefix with GOTPC relocation since diff --git a/gas/testsuite/gas/i386/oversized16.l b/gas/testsuite/gas/i386/oversized16.l index 3bf7e1d8095..e0fc7619bdc 100644 --- a/gas/testsuite/gas/i386/oversized16.l +++ b/gas/testsuite/gas/i386/oversized16.l @@ -1,9 +1,9 @@ .*: Assembler messages: -.*:6: Warning: instruction length.* -.*:7: Warning: instruction length.* -.*:8: Warning: instruction length.* -.*:10: Warning: instruction length.* -.*:11: Warning: instruction length.* +.*:6: Error: instruction length.* +.*:7: Error: instruction length.* +.*:8: Error: instruction length.* +.*:10: Error: instruction length.* +.*:11: Error: instruction length.* GAS LISTING .* @@ -12,29 +12,29 @@ GAS LISTING .* [ ]*3[ ]+\.code16 [ ]*4[ ]+ [ ]*5[ ]+long16: -[ ]*6[ ]+0000 26678FEA[ ]+lwpins eax, es:\[eax\*8\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*6[ ]+\?\?\?\? 26678FEA[ ]+lwpins eax, es:\[eax\*8\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*6[ ]+781204C5[ ]* [ ]*6[ ]+00000000[ ]* [ ]*6[ ]+44332211[ ]* -[ ]*7[ ]+0010 26678FEA[ ]+lwpval eax, es:\[eax\*4\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*7[ ]+\?\?\?\? 26678FEA[ ]+lwpval eax, es:\[eax\*4\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*7[ ]+78120C85[ ]* [ ]*7[ ]+00000000[ ]* [ ]*7[ ]+44332211[ ]* -[ ]*8[ ]+0020 26678FEA[ ]+bextr eax, es:\[eax\*2\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*8[ ]+\?\?\?\? 26678FEA[ ]+bextr eax, es:\[eax\*2\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*8[ ]+78100445[ ]* [ ]*8[ ]+00000000[ ]* [ ]*8[ ]+44332211[ ]* [ ]*9[ ]+ -[ ]*10[ ]+0030 266766F2[ ]+xacquire lock add dword ptr es:\[eax\*2\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*10[ ]+\?\?\?\? 266766F2[ ]+xacquire lock add dword ptr es:\[eax\*2\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*10[ ]+F0810445[ ]* [ ]*10[ ]+00000000[ ]* [ ]*10[ ]+44332211[ ]* -[ ]*11[ ]+0040 266766F3[ ]+xrelease lock sub dword ptr es:\[eax\*2\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*11[ ]+\?\?\?\? 266766F3[ ]+xrelease lock sub dword ptr es:\[eax\*2\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*11[ ]+F0812C45[ ]* [ ]*11[ ]+00000000[ ]* [ ]*11[ ]+44332211[ ]* diff --git a/gas/testsuite/gas/i386/oversized64.l b/gas/testsuite/gas/i386/oversized64.l index dc63fb5ae77..ac32c4d8139 100644 --- a/gas/testsuite/gas/i386/oversized64.l +++ b/gas/testsuite/gas/i386/oversized64.l @@ -1,9 +1,9 @@ .*: Assembler messages: -.*:5: Warning: instruction length.* -.*:6: Warning: instruction length.* -.*:7: Warning: instruction length.* -.*:9: Warning: instruction length.* -.*:10: Warning: instruction length.* +.*:5: Error: instruction length.* +.*:6: Error: instruction length.* +.*:7: Error: instruction length.* +.*:9: Error: instruction length.* +.*:10: Error: instruction length.* GAS LISTING .* @@ -11,29 +11,29 @@ GAS LISTING .* [ ]*2[ ]+\.intel_syntax noprefix [ ]*3[ ]+ [ ]*4[ ]+long64: -[ ]*5[ ]+0000 64678FEA[ ]+lwpins rax, fs:\[eax\*8\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*5[ ]+\?\?\?\? 64678FEA[ ]+lwpins rax, fs:\[eax\*8\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*5[ ]+F81204C5[ ]* [ ]*5[ ]+00000000[ ]* [ ]*5[ ]+44332211[ ]* -[ ]*6[ ]+0010 64678FEA[ ]+lwpval eax, fs:\[eax\*4\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*6[ ]+\?\?\?\? 64678FEA[ ]+lwpval eax, fs:\[eax\*4\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*6[ ]+78120C85[ ]* [ ]*6[ ]+00000000[ ]* [ ]*6[ ]+44332211[ ]* -[ ]*7[ ]+0020 64678FEA[ ]+bextr rax, fs:\[eax\*2\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*7[ ]+\?\?\?\? 64678FEA[ ]+bextr rax, fs:\[eax\*2\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*7[ ]+F8100445[ ]* [ ]*7[ ]+00000000[ ]* [ ]*7[ ]+44332211[ ]* [ ]*8[ ]+ -[ ]*9[ ]+0030 6567F2F0[ ]+xacquire lock add qword ptr gs:\[eax\*8\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*9[ ]+\?\?\?\? 6567F2F0[ ]+xacquire lock add qword ptr gs:\[eax\*8\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*9[ ]+488104C5[ ]* [ ]*9[ ]+00000000[ ]* [ ]*9[ ]+44332211[ ]* -[ ]*10[ ]+0040 6567F3F0[ ]+xrelease lock sub qword ptr gs:\[eax\*8\], 0x11223344 -\*\*\*\* Warning: instruction length of 16 bytes exceeds the limit of 15 +[ ]*10[ ]+\?\?\?\? 6567F3F0[ ]+xrelease lock sub qword ptr gs:\[eax\*8\], 0x11223344 +\*\*\*\* Error: instruction length of 16 bytes exceeds the limit of 15 [ ]*10[ ]+48812CC5[ ]* [ ]*10[ ]+00000000[ ]* [ ]*10[ ]+44332211[ ]* diff --git a/gas/testsuite/gas/i386/x86-64-apx-inval.l b/gas/testsuite/gas/i386/x86-64-apx-inval.l new file mode 100644 index 00000000000..6c1a346fcbf --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-apx-inval.l @@ -0,0 +1,3 @@ +.*: Assembler messages: +.*:3: Error: instruction length of 16 bytes exceeds the limit of 15 +.*:4: Error: instruction length of 16 bytes exceeds the limit of 15 diff --git a/gas/testsuite/gas/i386/x86-64-apx-inval.s b/gas/testsuite/gas/i386/x86-64-apx-inval.s new file mode 100644 index 00000000000..bb57817bc8a --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-apx-inval.s @@ -0,0 +1,4 @@ +# Check illegal 64bit APX_F instructions + .text + addq $0xe0, %fs:0, %rdx + xorq $0xe0, foo(%eax,%edx), %rdx diff --git a/gas/testsuite/gas/i386/x86-64.exp b/gas/testsuite/gas/i386/x86-64.exp index 6932ba97a4d..b77e8c10029 100644 --- a/gas/testsuite/gas/i386/x86-64.exp +++ b/gas/testsuite/gas/i386/x86-64.exp @@ -371,6 +371,7 @@ run_dump_test "x86-64-avx512f-rcigrne-intel" run_dump_test "x86-64-avx512f-rcigrne" run_dump_test "x86-64-avx512f-rcigru-intel" run_dump_test "x86-64-avx512f-rcigru" +run_list_test "x86-64-apx-inval" run_list_test "x86-64-apx-egpr-inval" run_dump_test "x86-64-apx-evex-promoted-bad" run_list_test "x86-64-apx-egpr-promote-inval" "-al"