From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85]) by sourceware.org (Postfix) with ESMTPS id 12A213858D38 for ; Wed, 12 Aug 2020 18:53:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 12A213858D38 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07CIal29108009; Wed, 12 Aug 2020 18:53:48 GMT Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 32smpnmh2a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Aug 2020 18:53:48 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07CIcVmv082723; Wed, 12 Aug 2020 18:53:48 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 32t6022y91-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Aug 2020 18:53:47 +0000 Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 07CIrk2c019449; Wed, 12 Aug 2020 18:53:46 GMT Received: from termi.oracle.com (/10.175.61.78) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 12 Aug 2020 18:53:46 +0000 From: "Jose E. Marchesi" To: "Frank Ch. Eigler via Cgen" Cc: Sergey Belyashov , "Frank Ch. Eigler" Subject: Re: BUG: non-fixed-length ISAs are unsupported for now References: <87pnbsztze.fsf@gnu.org> <87lfmgzoic.fsf@gnu.org> <20200811153823.GA20457@redhat.com> <20200811160847.GB20457@redhat.com> <20200812183611.GA27698@redhat.com> Date: Wed, 12 Aug 2020 20:53:42 +0200 In-Reply-To: <20200812183611.GA27698@redhat.com> (Frank Ch. Eigler via Cgen's message of "Wed, 12 Aug 2020 14:36:11 -0400") Message-ID: <87pn7v1yrt.fsf@oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9711 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 spamscore=0 suspectscore=0 mlxlogscore=990 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008120117 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9711 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 impostorscore=0 phishscore=0 clxscore=1011 spamscore=0 malwarescore=0 adultscore=0 mlxlogscore=983 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008120117 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY 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: Wed, 12 Aug 2020 18:53:53 -0000 >> I have tried it. Result is the same: ifields are just added (part of >> generated z80-opc.c): > > I'm unfortunately unable to actually run cgen here (apparent > incompatibility with "new" fedora32-level guile), so am only guessing > that you could try setting the cpu base-insn-size to 16 or even 32: > enough bits to tell the instructions apart. That looks like the right approach. Currently CGEN does not support having opcodes (constant fields) past the base part of the insn, which by the way is limited to a maximum of 32-bit.