From patchwork Thu Nov 4 21:18:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Koning X-Patchwork-Id: 70169 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 64937B70CD for ; Fri, 5 Nov 2010 08:18:46 +1100 (EST) Received: (qmail 25489 invoked by alias); 4 Nov 2010 21:18:43 -0000 Received: (qmail 25477 invoked by uid 22791); 4 Nov 2010 21:18:42 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausc60pc101.us.dell.com (HELO ausc60pc101.us.dell.com) (143.166.85.206) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Nov 2010 21:18:35 +0000 X-Loopcount0: from 10.152.240.141 From: Paul Koning Subject: [PATCH] doc: add pdp11 machine constraints Date: Thu, 4 Nov 2010 17:18:33 -0400 Message-Id: To: gcc-patches Mime-Version: 1.0 (Apple Message framework v1081) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org The machine constraints section was missing the pdp11 target specific constraints. This patch adds them. Tested with make info, make pdf. Committed. paul ChangeLog: 2010-11-04 Paul Koning * doc/md.texi (Machine Constraints): Add PDP-11 constraints. Index: doc/md.texi =================================================================== --- doc/md.texi (revision 166333) +++ doc/md.texi (working copy) @@ -2921,6 +2921,55 @@ @end table +@item PDP-11---@file{config/pdp11/constraints.md} +@table @code +@item a +Floating point registers AC0 through AC3. These can be loaded from/to +memory with a single instruction. + +@item d +Odd numbered general registers (R1, R3, R5). These are used for 16 +bit multiply operations. + +@item f +Any of the floating point registers (AC0 through AC5). + +@item G +Floating point constant 0. + +@item I +An integer constant that fits in 16 bits. + +@item J +An integer constant whose low order 16 bits are zero. + +@item K +An integer constant that does not meet the constraints for codes +@samp{I} or @samp{J}. + +@item L +The integer constant 1. + +@item M +The integer constant -1. + +@item N +The integer constant 0. + +@item O +Integer constants -4 through -1 and 1 through 4; shifts by these +amounts are handled as multiple single-bit shifts rather than a single +variable-length shift. + +@item Q +A memory reference which requires an additional word (address or +offset) after the opcode. + +@item R +A memory reference that is encoded within the opcode. + +@end table + @item RX---@file{config/rx/constraints.md} @table @code @item Q