From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32139 invoked by alias); 31 Oct 2008 13:16:13 -0000 Received: (qmail 32077 invoked by uid 22791); 31 Oct 2008 13:16:12 -0000 X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 31 Oct 2008 13:15:22 +0000 Received: by fg-out-1718.google.com with SMTP id 16so956571fgg.22 for ; Fri, 31 Oct 2008 06:15:19 -0700 (PDT) Received: by 10.187.180.4 with SMTP id h4mr1340046fap.99.1225458918870; Fri, 31 Oct 2008 06:15:18 -0700 (PDT) Received: by 10.187.174.14 with HTTP; Fri, 31 Oct 2008 06:15:18 -0700 (PDT) Message-ID: Date: Fri, 31 Oct 2008 13:16:00 -0000 From: "Alexander Sviridenko" To: cgen@sources.redhat.com Subject: Detect register name MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: 2008-q4/txt/msg00002.txt.bz2 Hi, I have such gpr registers: a1,a2,...,aN and b1,b2,...,bN and "add $src1, $src2" instruction, where src1 and src2 from h-gpr. The question is, how can I detect where is in src1/src2 register aN and where is bN. Thanks. -Alexander