From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5324 invoked by alias); 10 Jun 2009 20:26:34 -0000 Received: (qmail 5316 invoked by uid 22791); 10 Jun 2009 20:26:33 -0000 X-SWARE-Spam-Status: Yes, hits=6.6 required=5.0 tests=AWL,BAYES_00,BOTNET,J_CHICKENPOX_44,J_CHICKENPOX_84,NO_DNS_FOR_FROM,RDNS_NONE X-Spam-Check-By: sourceware.org Received: from Unknown (HELO arfus.sebabeach.org) (132.207.220.221) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 10 Jun 2009 20:26:29 +0000 Received: from arfus.sebabeach.org (localhost.localdomain [127.0.0.1]) by arfus.sebabeach.org (Postfix) with ESMTP id 3CDE929C3E for ; Wed, 10 Jun 2009 16:21:51 -0700 (PDT) Received: (from dje@localhost) by arfus.sebabeach.org (8.14.2/8.14.2/Submit) id n5ANLpqo000478; Wed, 10 Jun 2009 16:21:51 -0700 Date: Wed, 10 Jun 2009 20:26:00 -0000 Message-Id: <200906102321.n5ANLpqo000478@arfus.sebabeach.org> From: Doug Evans To: cgen@sourceware.org Subject: [PATCH] glossary.texi additions 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/msg00033.txt.bz2 Hi. This patch adds a few entries to glossary.texi and cleans it up a bit. I'll check it in in a few days if there are no objections. btw, I'm going through the entire manual, prior to releasing 1.1. 2009-06-10 Doug Evans * doc/glossary.texi: Add ifield, iformat, sformat, insn. Index: doc/glossary.texi =================================================================== RCS file: /cvs/src/src/cgen/doc/glossary.texi,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 glossary.texi --- doc/glossary.texi 28 Jul 2000 04:11:52 -0000 1.1.1.1 +++ doc/glossary.texi 10 Jun 2009 20:23:15 -0000 @@ -1,4 +1,4 @@ -@c Copyright (C) 2000 Red Hat, Inc. +@c Copyright (C) 2000, 2009 Red Hat, Inc. @c This file is part of the CGEN manual. @c For copying conditions, see the file cgen.texi. @@ -6,6 +6,7 @@ @chapter Glossary @table @asis + @item arch This is the overall architecture. It is the same as BFD's use of @emph{arch}. @@ -14,16 +15,33 @@ This is the overall architecture. It is Acronym for Instruction Set Architecture. @item mach -This is a variant of the architecture, short for machine. It is +This is a variant of the architecture, short for machine. It is essentially the same as BFD's use of @emph{mach}. @item CPU family A group of related mach's. Simulator support is organized along ``CPU -family'' lines to keep related mach's together under one roof to +family'' lines to keep related machs together under one roof to simplify things. The organization is semi-arbitrary and is up to the programmer. @item model An implementation of a mach. It is essentially akin to the argument to @code{-mtune=} in SPARC GCC (and other GCC ports). + +@item ifield +An instruction field. + +@item iformat +An instruction format, as specified by the instruction's fields. + +@item sformat +An instruction semantic format. +This is different from @code{iformat}. +For example, if an operand is referred to in one mode by +one instruction and in a different mode by another instruction, then these +two insns would have different sformats even if they have the same iformat. + +@item insn +An instruction. + @end table