From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 7A10E3857031 for ; Tue, 11 Aug 2020 16:08:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7A10E3857031 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-209-J4g17IoHOwOmzwOBBv9VXg-1; Tue, 11 Aug 2020 12:08:49 -0400 X-MC-Unique: J4g17IoHOwOmzwOBBv9VXg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E0A852D59; Tue, 11 Aug 2020 16:08:48 +0000 (UTC) Received: from redhat.com (ovpn-112-64.phx2.redhat.com [10.3.112.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C45211A7D8; Tue, 11 Aug 2020 16:08:48 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.94) (envelope-from ) id 1k5WpT-0005QN-F6; Tue, 11 Aug 2020 12:08:47 -0400 Date: Tue, 11 Aug 2020 12:08:47 -0400 From: "Frank Ch. Eigler" To: Sergey Belyashov Cc: Sergey Belyashov via Cgen Subject: Re: BUG: non-fixed-length ISAs are unsupported for now Message-ID: <20200811160847.GB20457@redhat.com> References: <20200427162914.GA21677@redhat.com> <87pnbsztze.fsf@gnu.org> <87lfmgzoic.fsf@gnu.org> <20200811153823.GA20457@redhat.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cgen@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cgen mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2020 16:08:54 -0000 Hi - > I have already tried to stay within one ISA but my attempt fails. You > may look here for full source of my try: OK, yeah sounds like you tried along the same direction! I don't see anything obviously wrong. > https://github.com/b-s-a/binutils-gdb/blob/z80-cgen/cpu/z80.cpu > (invalid decoder is generated for last 2 lines - "reti" (ED 4D) and > "retn" (ED 45) instructions, I have tried many types of ifields with > same result, but these are simpler to read). I cannot understand what > I'm doing wrong. Does it work if you comment out all other instructions? If yes, then I'd approach it with a bisection-like procedure to identify the real source of conflict. - FChE