From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16366 invoked by alias); 31 Jan 2014 14:38:42 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 16344 invoked by uid 89); 31 Jan 2014 14:38:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f43.google.com Received: from mail-wg0-f43.google.com (HELO mail-wg0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 31 Jan 2014 14:38:39 +0000 Received: by mail-wg0-f43.google.com with SMTP id y10so9042022wgg.10 for ; Fri, 31 Jan 2014 06:38:35 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.165.174 with SMTP id yz14mr23787855wib.34.1391179115821; Fri, 31 Jan 2014 06:38:35 -0800 (PST) Received: by 10.194.47.9 with HTTP; Fri, 31 Jan 2014 06:38:35 -0800 (PST) In-Reply-To: References: <20140131100941.GA24910@msticlxl57.ims.intel.com> Date: Fri, 31 Jan 2014 14:38:00 -0000 Message-ID: Subject: Re: [PATCH] PR gas/16488: Add test for incorrect memory operand for gather/scatter instructions. From: Michael Zolotukhin To: "H.J. Lu" Cc: Jan Beulich , Binutils Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00369.txt.bz2 > You added 2 tests for AT&T syntax, but only 1 for > Intel syntax. Any particular reason for this? Yes, the following test doesn't give an error: vgatherqpd zmm6{k1}, ZMMWORD PTR [zmm3] I think it's because it is equivalent to something like vgatherqpd (,%zmm2,),%zmm6{%k1} (please note commas around zmm2), which also doesn't lead to an error. I assume that in Intel syntax this test is regarded as a rich addressing mode, which is acceptable for gather/scatters. However, I'm not sure about this - please correct me if I'm wrong. Thanks, Michael > H.J.