From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31020 invoked by alias); 26 Nov 2013 07:54:43 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 30996 invoked by uid 89); 26 Nov 2013 07:54:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail-wi0-f174.google.com Received: from Unknown (HELO mail-wi0-f174.google.com) (209.85.212.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 26 Nov 2013 07:54:37 +0000 Received: by mail-wi0-f174.google.com with SMTP id ey16so29406wid.1 for ; Mon, 25 Nov 2013 23:54:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc:content-type; bh=+dYpAkLOSAqu6OWKd/jo3z3kRUEnsWGDmarx0DStMNc=; b=OcCx8eOisvbolW3mGGDqd5c1xnI6+OXhrFZ7glqhU84C2B2VQpD3lLgCvCXyYKEUMt IH1a+akgtIbHTsZROGw9gg3ja3gDp5T9tg4yUIl6wZjU3WBsnHL+WkshG3S5VbZUjqrk lqsx9s5QBmItZnwjXW5EkiI3GaKT+vCzhqa6UDvVNu6IobmMaO9MFS8kKGs+dmS+LfCk PeNHtK+7vptMFdCD/wv4/rHbk6rHGaevh8ThZwQ7DdxZ1ApcpXj8i8m7g/TBythJG0rk Jfwm38Amg5TJ8VkPG7LiQIG6E6MqZUS0s3YgmySjAizNXBU2l+CxthzrsJbNd+EvPF1e goXQ== X-Gm-Message-State: ALoCoQnqHzJecCBW4mRXD9vUEnGlESFfd0wj2Gbq7tZjmVtPAYIuuStGQ6PHmBPU0sBhaqQctToZ X-Received: by 10.180.187.41 with SMTP id fp9mr16854167wic.33.1385452468017; Mon, 25 Nov 2013 23:54:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.5.202 with HTTP; Mon, 25 Nov 2013 23:54:07 -0800 (PST) From: David Holsgrove Date: Tue, 26 Nov 2013 09:41:00 -0000 Message-ID: Subject: [Patch, microblaze]: Added load and store reverse patterns To: "gcc-patches@gcc.gnu.org" Cc: Michael Eager , Edgar Iglesias , John Williams , Vidhumouli Hunsigida , Nagaraju Mekala Content-Type: multipart/mixed; boundary=001a11c3844c35ba2504ec0fca6f X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg03305.txt.bz2 --001a11c3844c35ba2504ec0fca6f Content-Type: text/plain; charset=ISO-8859-1 Content-length: 329 Added the lwr/swr instructions pattern. lwr and swr instructions will load/store the data with opposite endianness. Changelog 2013-11-26 Nagaraju Mekala * gcc/config/microblaze/microblaze.md: Add movsi4_rev insn pattern. * gcc/config/microblaze/predicates.md: Add reg_or_mem_operand predicate. --001a11c3844c35ba2504ec0fca6f Content-Type: application/octet-stream; name="0011-Patch-microblaze-Added-load-and-store-reverse-patter.patch" Content-Disposition: attachment; filename="0011-Patch-microblaze-Added-load-and-store-reverse-patter.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hogsgs8s0 Content-length: 2786 RnJvbSA0YmQwMzM4NmJjZTEwZDU4MDY2MGJmNjM3MzFlNWEwMzk5ZTQzNmY4 IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBuYWdhcmFqdSA8bm1l a2FsYUB4aWxpeC5jb20+CkRhdGU6IFR1ZSwgOCBPY3QgMjAxMyAxMTowODox MSArMDUzMApTdWJqZWN0OiBbUEFUQ0ggMTEvMTFdIFtQYXRjaCwgbWljcm9i bGF6ZV06IEFkZGVkIGxvYWQgYW5kIHN0b3JlIHJldmVyc2UKIHBhdHRlcm5z CgpBZGRlZCB0aG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