From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6535 invoked by alias); 19 Jun 2009 18:53:19 -0000 Received: (qmail 6527 invoked by uid 22791); 19 Jun 2009 18:53:18 -0000 X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_00,DNS_FROM_RFC_BOGUSMX X-Spam-Check-By: sourceware.org Received: from sebabeach.org (HELO sebabeach.org) (64.165.110.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Jun 2009 18:53:08 +0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by sebabeach.org (Postfix) with ESMTP id 9DB636E3C4 for ; Fri, 19 Jun 2009 11:53:06 -0700 (PDT) Message-ID: <4A3BDE92.4010504@sebabeach.org> Date: Fri, 19 Jun 2009 18:53:00 -0000 From: Doug Evans User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: cgen@sourceware.org Subject: adding looping construct to rtl? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00050.txt.bz2 Hi. Does anyone have any thoughts on adding a looping construct to the RTL? This could be used, e.g., to simplify things like ARM's load/store-multiple instructions. The first thing that came to mind is named sequences, akin to named lets. It's kinda nice, but maybe a bit too esoteric for the target audience. How to extend `sequence' is another matter, creating a new name may be the simpler way to go.