From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2130.oracle.com (userp2130.oracle.com [156.151.31.86]) by sourceware.org (Postfix) with ESMTPS id 4DAD63864877 for ; Wed, 12 Aug 2020 19:27:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4DAD63864877 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07CJ82dg003489; Wed, 12 Aug 2020 19:27:31 GMT Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 32t2ydu3au-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Aug 2020 19:27:31 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07CJ3OQf149334; Wed, 12 Aug 2020 19:27:30 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 32t5y7nu19-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Aug 2020 19:27:30 +0000 Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 07CJRSXK030986; Wed, 12 Aug 2020 19:27:29 GMT Received: from termi.oracle.com (/10.175.61.78) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 12 Aug 2020 19:27:28 +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: <87lfmgzoic.fsf@gnu.org> <20200811153823.GA20457@redhat.com> <20200811160847.GB20457@redhat.com> <20200812183611.GA27698@redhat.com> <87pn7v1yrt.fsf@oracle.com> <20200812192115.GB27698@redhat.com> Date: Wed, 12 Aug 2020 21:27:24 +0200 In-Reply-To: <20200812192115.GB27698@redhat.com> (Frank Ch. Eigler via Cgen's message of "Wed, 12 Aug 2020 15:21:15 -0400") Message-ID: <87eeob1x7n.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 spamscore=0 malwarescore=0 suspectscore=0 mlxscore=0 adultscore=0 bulkscore=0 phishscore=0 mlxlogscore=873 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008120119 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9711 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=861 priorityscore=1501 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 bulkscore=0 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008120119 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, 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 19:27:35 -0000 >> But Zilog eZ80 CPU has instructions up to 6 bytes long: like ld.il bc,(Mmn) >> (lil/sil prefix 0xed prefix ) . > > You don't have to include pure operands in those 6. Just the > opcode-containing bytes that tell cgen-level instructions apart. Yeah, just make sure that every (f-FOO CST) expression in instruction formats (+ ... ) are contained in the base-insn. Instruction operands can appear beyond the base insn without problems.