[oe-commits] org.oe.angstrom-2007.12-stable merge of '3165c7819e2b836d09aeb0517c48a1e69dfc8dcd'

xjqian commit openembedded-commits at lists.openembedded.org
Sun Mar 2 02:07:03 UTC 2008


merge of '3165c7819e2b836d09aeb0517c48a1e69dfc8dcd'
     and 'dbde28e676ac0b2ac46617970d796fb2f809e4cc'

Author: xjqian at openembedded.org
Branch: org.openembedded.angstrom-2007.12-stable
Revision: 3754a6b647605f369b0fb91d45221114ee0a2d39
ViewMTN: http://monotone.openembedded.org/revision/info/3754a6b647605f369b0fb91d45221114ee0a2d39
Files:
1
contrib/angstrom/mtnlog2backports
packages/gcc/gcc-4.1.0/arm-nolibfloat.patch
packages/gcc/gcc-4.1.0/arm-softfloat.patch
packages/gcc/gcc-4.1.0/ldflags.patch
packages/gcc/gcc-4.1.0/pr34130.patch
packages/gcc/gcc-4.1.0/zecke-no-host-includes.patch
packages/gcc/gcc-4.1.0/zecke-xgcc-cpp.patch
packages/tasks/task-toolchain-openmoko-sdk.bb
packages/tasks/task-openmoko-toolchain-target.bb
contrib/angstrom/feed-rss.php
packages/gcc/gcc-4.2.2/fortran-cross-compile-hack.patch
packages/gcc/gcc-4.2.2/fortran-static-linking.patch
packages/gcc/gcc-4.2.2/gcc-4.0.2-e300c2c3.patch
packages/gcc/gcc-cross-sdk_4.2.2.bb
packages/gcc/gcc-native.inc
packages/gcc/gcc-native_3.4.4.bb
packages/tasks/task-openmoko-toolchain-host.bb
BACKPORTS.txt
conf/distro/include/moko-autorev.inc
conf/distro/include/sane-srcrevs.inc
contrib/angstrom/sort.sh
packages/gcc/gcc-4.1.1/zecke-xgcc-cpp.patch
packages/gcc/gcc-4.1.2/zecke-xgcc-cpp.patch
packages/gcc/gcc-4.2.1/zecke-no-host-includes.patch
packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch
packages/gcc/gcc-4.2.2/arm-softfloat.patch
packages/gcc/gcc-4.2.2/arm-thumb.patch
packages/gcc/gcc-4.2.2/zecke-xgcc-cpp.patch
packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb
packages/gcc/gcc-cross_4.1.2.bb
packages/gcc/gcc-cross_4.2.2.bb
packages/gcc/gcc-package-cross.inc
packages/gcc/gcc-package.inc
packages/gcc/gcc_4.0.0.bb
packages/gcc/gcc_4.0.2.bb
packages/gcc/gcc_4.1.0.bb
packages/gcc/gcc_4.1.1.bb
packages/gcc/gcc_4.1.2.bb
packages/gcc/gcc_4.2.1.bb
packages/gcc/gcc_4.2.2.bb
packages/meta/meta-toolchain-gpe-sbox.bb
packages/meta/meta-toolchain-gpe.bb
packages/meta/meta-toolchain-openmoko.bb
packages/meta/meta-toolchain-sbox.bb
packages/meta/meta-toolchain.bb
packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb
packages/openmoko2/openmoko-sample2_svn.bb
Diffs:

#
# mt diff -r3165c7819e2b836d09aeb0517c48a1e69dfc8dcd -r3754a6b647605f369b0fb91d45221114ee0a2d39
#
# 
# 
# patch "contrib/angstrom/mtnlog2backports"
#  from [3c8b877e763601655051025dcce4d9854a31018d]
#    to [85b7fb56055cf677fd00d3adcbc1e24c45020431]
# 
============================================================
--- contrib/angstrom/mtnlog2backports	3c8b877e763601655051025dcce4d9854a31018d
+++ contrib/angstrom/mtnlog2backports	85b7fb56055cf677fd00d3adcbc1e24c45020431
@@ -1,4 +1,4 @@
-#/bim/sh
+#!/bin/sh
 
 #
 # This scripts converts output of mtn log --no-graph --no-files into format 


#
# mt diff -rdbde28e676ac0b2ac46617970d796fb2f809e4cc -r3754a6b647605f369b0fb91d45221114ee0a2d39
#
# 
# 
# delete "packages/gcc/gcc-4.1.0/arm-nolibfloat.patch"
# 
# delete "packages/gcc/gcc-4.1.0/arm-softfloat.patch"
# 
# delete "packages/gcc/gcc-4.1.0/ldflags.patch"
# 
# delete "packages/gcc/gcc-4.1.0/pr34130.patch"
# 
# delete "packages/gcc/gcc-4.1.0/zecke-no-host-includes.patch"
# 
# delete "packages/gcc/gcc-4.1.0/zecke-xgcc-cpp.patch"
# 
# rename "packages/tasks/task-toolchain-openmoko-sdk.bb"
#     to "packages/tasks/task-openmoko-toolchain-target.bb"
# 
# add_file "contrib/angstrom/feed-rss.php"
#  content [c39c1dc2a41598998a841fd28aec5b1e52f6529b]
# 
# add_file "packages/gcc/gcc-4.2.2/fortran-cross-compile-hack.patch"
#  content [544859e05e08d2a0b5639e1182a8a2a4ef114d07]
# 
# add_file "packages/gcc/gcc-4.2.2/fortran-static-linking.patch"
#  content [e51538f27d036e3418faae17b7dcd656ae38313a]
# 
# add_file "packages/gcc/gcc-4.2.2/gcc-4.0.2-e300c2c3.patch"
#  content [84568712feddebdf1d7bf5b760367393b94cf58d]
# 
# add_file "packages/gcc/gcc-cross-sdk_4.2.2.bb"
#  content [c51f994c61ce378fb2761f8e6d0cc77071b8dcfe]
# 
# add_file "packages/gcc/gcc-native.inc"
#  content [cc4d24806d661d7f81f992f3374fa964057f6b83]
# 
# add_file "packages/gcc/gcc-native_3.4.4.bb"
#  content [20e9243b3b4c6a955128bf793a8a8a77a50d8d05]
# 
# add_file "packages/tasks/task-openmoko-toolchain-host.bb"
#  content [b9a3d69c6fddd5412b4d45ac8d8190ff8c06fc9c]
# 
# patch "BACKPORTS.txt"
#  from [6f19367ebd215256f4380a3130ecea47903f67cf]
#    to [12fe260c83def436667d80dc56e61e59ebc62809]
# 
# patch "conf/distro/include/moko-autorev.inc"
#  from [936fa5b0bafa49c816782957d4d6d7de12cee042]
#    to [d939e4e57f7be0ec0a2a1c3e58adebad4681dd95]
# 
# patch "conf/distro/include/sane-srcrevs.inc"
#  from [11acb028456fb05345111447a0655b656a67d690]
#    to [50a2b7673fcd47b11feb3fa45dabecffc61729af]
# 
# patch "contrib/angstrom/sort.sh"
#  from [9a6490cb3e7de604c9868e323cc61f21117d7707]
#    to [1ca87a37ed30f99544bc51f6d766632632f65138]
# 
# patch "packages/gcc/gcc-4.1.1/zecke-xgcc-cpp.patch"
#  from [6148ea439041ba0af321d2298fea9a6d602f585e]
#    to [3df45360067c99ecdec52e388d544e6bd01f5efd]
# 
# patch "packages/gcc/gcc-4.1.2/zecke-xgcc-cpp.patch"
#  from [6148ea439041ba0af321d2298fea9a6d602f585e]
#    to [3df45360067c99ecdec52e388d544e6bd01f5efd]
# 
# patch "packages/gcc/gcc-4.2.1/zecke-no-host-includes.patch"
#  from [6e9d8445c31e423d84214b7b5560ebd144b1fb51]
#    to [0078a4cb532f5bbf3ac56c8b4ccd752667e2ebb7]
# 
# patch "packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch"
#  from [6148ea439041ba0af321d2298fea9a6d602f585e]
#    to [3df45360067c99ecdec52e388d544e6bd01f5efd]
# 
# patch "packages/gcc/gcc-4.2.2/arm-softfloat.patch"
#  from [c2fcfd20cc1076a976149055efa9d3d47ccc9961]
#    to [a75dd0178c0e43be67c6e716da8c1a82a6270226]
# 
# patch "packages/gcc/gcc-4.2.2/arm-thumb.patch"
#  from [c1ab94e8925134bf5b5cae5a2689f0c7127eb008]
#    to [4e5930d45cd65afd0706edb94267818b9cd1ec05]
# 
# patch "packages/gcc/gcc-4.2.2/zecke-xgcc-cpp.patch"
#  from [6148ea439041ba0af321d2298fea9a6d602f585e]
#    to [3df45360067c99ecdec52e388d544e6bd01f5efd]
# 
# patch "packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb"
#  from [7bcc0559527de7fa6dc5913757e48a1337fcd7e8]
#    to [de07ac05a73eb359a3249b9850f1527893d391a7]
# 
# patch "packages/gcc/gcc-cross_4.1.2.bb"
#  from [110264dc0f77a52cf1c9af1c384778715c290d17]
#    to [e659d9e6674737d1b04faad23ba65c74a3626216]
# 
# patch "packages/gcc/gcc-cross_4.2.2.bb"
#  from [db2829fa431c6b82c542cae426ddc639e77aa4db]
#    to [638f8a17318b6c935909d7b7f11cc6506e57d6af]
# 
# patch "packages/gcc/gcc-package-cross.inc"
#  from [02ed46babec84d115ccdf2185b7c2a9364953092]
#    to [74d7c12ed4f23d683bd26cd00ec7023f4a4e79cf]
# 
# patch "packages/gcc/gcc-package.inc"
#  from [1cc2816065e59a4b33fa88fb69ad95372838e537]
#    to [e8d0474d4c416cc2ea6765fe1d8938119a1b8ed9]
# 
# patch "packages/gcc/gcc_4.0.0.bb"
#  from [a8f79504565dce0ccceb3bced8c8c874caf13f5e]
#    to [1ea907e9cf461db082a95d72498f977bf9cdf397]
# 
# patch "packages/gcc/gcc_4.0.2.bb"
#  from [0156b0ed1e59ed7e6319931b8637568457eb1a94]
#    to [7b32baa6265a8baeaa95db1f20ef4d3c86499268]
# 
# patch "packages/gcc/gcc_4.1.0.bb"
#  from [969b03f6753406d3c1fc57118391e227359539c8]
#    to [79e5d5565f0a8d820e94e5287f3e4fdd6741d6c6]
# 
# patch "packages/gcc/gcc_4.1.1.bb"
#  from [ba26064f61c07690d6fc9e80c2083fa783cec5ff]
#    to [3714a3e209cfe79de017247adf48c493d22a9f82]
# 
# patch "packages/gcc/gcc_4.1.2.bb"
#  from [66c1a6be00672f5a37ab8c37aaee4c3c6b0713d6]
#    to [c44d2580c2ecb17e4aa49c880767ad3078997206]
# 
# patch "packages/gcc/gcc_4.2.1.bb"
#  from [755943c06b7920f669b3a3f3e1baf2e9d2a97645]
#    to [24b156595e4214b3b525a3cb63450d3e9798bc1c]
# 
# patch "packages/gcc/gcc_4.2.2.bb"
#  from [53244c4e795291ca862fb5b92fb62d5191081c67]
#    to [71f991a05f98b5c132567ed6c4ab496016222a4f]
# 
# patch "packages/meta/meta-toolchain-gpe-sbox.bb"
#  from [cfdfc9f4b2bbdd1f3ad0ebd0cfa69553220548d7]
#    to [8c13ffb0df097aec092934180a6187818aba7378]
# 
# patch "packages/meta/meta-toolchain-gpe.bb"
#  from [e4b3b787a0714a603a46e6d0423cfddb7bba3c58]
#    to [96ae935de25684f8ec51be678ff8a2aedf946d99]
# 
# patch "packages/meta/meta-toolchain-openmoko.bb"
#  from [052ed3fc28dde371bd81be6bf9ffaa47c10deb57]
#    to [76d692ed056a9397df52f5d27a16c97f29b032cd]
# 
# patch "packages/meta/meta-toolchain-sbox.bb"
#  from [00b9d0333251622f7df96dfb38a417c61e90a281]
#    to [aa24669823d24a74c6fa299901b587d1432ba62a]
# 
# patch "packages/meta/meta-toolchain.bb"
#  from [3fe2673a61b591aed4f247f8201896a640d5ed35]
#    to [d53849cfd4dc2f21fcd44b4cc0926382313fc1e9]
# 
# patch "packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb"
#  from [e3fd4a716a5bcfff74dd72a3a454d8c2ce401e7d]
#    to [d90b9e48b2570a1906b72dcb19d0a8764fe6c23b]
# 
# patch "packages/openmoko2/openmoko-sample2_svn.bb"
#  from [f81b348bfe4ffd0c3a27b9c3042e6e2945ea3971]
#    to [90b2cf8a49d86bb43022f62052a46f47d57edcee]
# 
# patch "packages/tasks/task-openmoko-toolchain-target.bb"
#  from [4526d09a7c1a87ae65eac1a78599062dad98e280]
#    to [28005de19ec998c9abe5e7d383d158bf18bbfc14]
# 
============================================================
--- contrib/angstrom/feed-rss.php	c39c1dc2a41598998a841fd28aec5b1e52f6529b
+++ contrib/angstrom/feed-rss.php	c39c1dc2a41598998a841fd28aec5b1e52f6529b
@@ -0,0 +1,66 @@
+<?php
+
+/*
+ * This generator expects only log from the feed sorter in a simple format:
+ * TIME FILENAME <LIBC TYPE> 
+ *
+ * where TIME_OF_BUILD is epoch
+ *
+ * All what it does is parsing log and output it in reverse order (new packages 
+ * first) in RSS 2.0 format.
+ *
+ * (C) 2007 Marcin Juszkiewicz
+ * (C) 2008 Koen Kooi
+ *
+ * License: MIT
+ *
+ */
+
+$build_link_base = 'http://www.angstrom-distribution.org/repo/';
+
+$builder_log_date = file('upload.txt');
+
+if(empty($builder_log_date))
+	die("No logs\n");
+
+$builder_log_date = array_reverse($builder_log_date);
+
+$rss_xml = new xmlWriter();
+
+if(!$rss_xml)
+	die("Unable to create XML Writer\n");
+
+$rss_xml->openMemory();
+
+$rss_xml->startDocument('1.0','utf-8');
+$rss_xml->startElement('rss');
+$rss_xml->writeAttribute('version', '2.0');
+
+$rss_xml->startElement('channel');
+
+$rss_xml->writeElement('title', 'Ångström package repository updates');
+$rss_xml->writeElement('link', $build_link_base);
+$rss_xml->writeElement('description', 'Ångström feed updates list');
+
+foreach($builder_log_date as $build)
+{
+	$build = str_replace("\n", "", $build);
+	$data = explode(' ', $build);
+	# $date[1] is in the form of: angstrom-feed-configs-dbg_1.0-r3_palmz72.ipk
+        $pkgdata = explode('_', $data[1]);
+
+	$rss_xml->startElement('item');
+	$rss_xml->writeElement('title', "{$pkgdata[0]} {$pkgdata[1]} for {$pkgdata[2]}");
+	$rss_xml->writeElement('link', "{$build_link_base}?action=details&pnm={$pkgdata[0]}");
+	$rss_xml->writeElement('pubDate', date('r', $data[0]));
+
+	$rss_xml->endElement();
+}
+
+$rss_xml->endElement();
+$rss_xml->endElement();
+
+echo $rss_xml->outputMemory(true);   
+
+echo "\n";
+?>
============================================================
--- packages/gcc/gcc-4.2.2/fortran-cross-compile-hack.patch	544859e05e08d2a0b5639e1182a8a2a4ef114d07
+++ packages/gcc/gcc-4.2.2/fortran-cross-compile-hack.patch	544859e05e08d2a0b5639e1182a8a2a4ef114d07
@@ -0,0 +1,30 @@
+* Fortran would have searched for arm-angstrom-gnueabi-gfortran but would have used
+  used gfortan. For gcc_4.2.2.bb we want to use the gfortran compiler from our cross
+  directory.
+
+diff --git a/libgfortran/configure b/libgfortran/configure
+index f7d86fb..d0966ec 100755
+--- a/libgfortran/configure
++++ b/libgfortran/configure
+@@ -4475,6 +4475,6 @@ exec 5>>./config.log
+ 
+ # We need gfortran to compile parts of the library
+ #AC_PROG_FC(gfortran)
+-FC="$GFORTRAN"
++#FC="$GFORTRAN"
+ ac_ext=${FC_SRCEXT-f}
+ ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+\ No newline at end of file
+diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
+index 4661306..9f83e55 100644
+--- a/libgfortran/configure.ac
++++ b/libgfortran/configure.ac
+@@ -140,7 +140,7 @@ AC_SUBST(enable_static)
+ 
+ # We need gfortran to compile parts of the library
+ #AC_PROG_FC(gfortran)
+-FC="$GFORTRAN"
++#FC="$GFORTRAN"
+ AC_PROG_FC(gfortran)
+ 
+ # extra LD Flags which are required for targets
============================================================
--- packages/gcc/gcc-4.2.2/fortran-static-linking.patch	e51538f27d036e3418faae17b7dcd656ae38313a
+++ packages/gcc/gcc-4.2.2/fortran-static-linking.patch	e51538f27d036e3418faae17b7dcd656ae38313a
@@ -0,0 +1,48 @@
+f951 (fortran) links to MPFR and GMP of our staging area but when executing
+the command the libs can not be found. Use rpath like all the other apps in
+our staging bin/ directory.
+
+Patch the configure to avoid the regeneration...
+
+Index: gcc-4.2.2/configure
+===================================================================
+--- gcc-4.2.2.orig/configure	2008-01-15 23:23:41.000000000 +0100
++++ gcc-4.2.2/configure	2008-01-15 23:25:20.000000000 +0100
+@@ -2278,14 +2278,14 @@
+ 
+ 
+ if test "x$with_mpfr" != x; then
+-  gmplibs="-L$with_mpfr/lib $gmplibs"
++  gmplibs="-static -L$with_mpfr/lib $gmplibs"
+   gmpinc="-I$with_mpfr/include"
+ fi
+ if test "x$with_mpfr_include" != x; then
+   gmpinc="-I$with_mpfr_include"
+ fi
+ if test "x$with_mpfr_lib" != x; then
+-  gmplibs="-L$with_mpfr_lib $gmplibs"
++  gmplibs="-static -L$with_mpfr_lib $gmplibs"
+ fi
+ 
+ # Specify a location for gmp
+Index: gcc-4.2.2/configure.in
+===================================================================
+--- gcc-4.2.2.orig/configure.in	2008-01-15 23:23:41.000000000 +0100
++++ gcc-4.2.2/configure.in	2008-01-15 23:24:36.000000000 +0100
+@@ -1066,14 +1066,14 @@
+ AC_ARG_WITH(mpfr_lib, [  --with-mpfr-lib=PATH    Specify the directory for the installed MPFR library])
+ 
+ if test "x$with_mpfr" != x; then
+-  gmplibs="-L$with_mpfr/lib $gmplibs"
++  gmplibs="-static -L$with_mpfr/lib $gmplibs"
+   gmpinc="-I$with_mpfr/include"
+ fi
+ if test "x$with_mpfr_include" != x; then
+   gmpinc="-I$with_mpfr_include"
+ fi
+ if test "x$with_mpfr_lib" != x; then
+-  gmplibs="-L$with_mpfr_lib $gmplibs"
++  gmplibs="-static -L$with_mpfr_lib $gmplibs"
+ fi
+ 
+ # Specify a location for gmp
============================================================
--- packages/gcc/gcc-4.2.2/gcc-4.0.2-e300c2c3.patch	84568712feddebdf1d7bf5b760367393b94cf58d
+++ packages/gcc/gcc-4.2.2/gcc-4.0.2-e300c2c3.patch	84568712feddebdf1d7bf5b760367393b94cf58d
@@ -0,0 +1,311 @@
+Adds support for Freescale Power architecture e300c2 and e300c3 cores.
+http://www.bitshrine.org/gpp/tc-fsl-x86lnx-e300c3-nptl-4.0.2-2.src.rpm
+
+Leon Woestenberg <leonw at mailcan.com>
+
+Index: gcc-4.1.2/gcc/config/rs6000/e300c2c3.md
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ gcc-4.1.2/gcc/config/rs6000/e300c2c3.md	2007-10-18 15:32:51.000000000 +0200
+@@ -0,0 +1,189 @@
++;; Pipeline description for Motorola PowerPC e300c3 core.
++;;   Copyright (C) 2003 Free Software Foundation, Inc.
++;;
++;; This file is part of GCC.
++
++;; GCC is free software; you can redistribute it and/or modify it
++;; under the terms of the GNU General Public License as published
++;; by the Free Software Foundation; either version 2, or (at your
++;; option) any later version.
++
++;; GCC is distributed in the hope that it will be useful, but WITHOUT
++;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++;; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
++;; License for more details.
++
++;; You should have received a copy of the GNU General Public License
++;; along with GCC; see the file COPYING.  If not, write to the
++;; Free Software Foundation, 59 Temple Place - Suite 330, Boston,
++;; MA 02111-1307, USA.
++
++(define_automaton "ppce300c3_most,ppce300c3_long,ppce300c3_retire")
++(define_cpu_unit "ppce300c3_decode_0,ppce300c3_decode_1" "ppce300c3_most")
++
++;; We don't simulate general issue queue (GIC).  If we have SU insn
++;; and then SU1 insn, they can not be issued on the same cycle
++;; (although SU1 insn and then SU insn can be issued) because the SU
++;; insn will go to SU1 from GIC0 entry.  Fortunately, the first cycle
++;; multipass insn scheduling will find the situation and issue the SU1
++;; insn and then the SU insn.
++(define_cpu_unit "ppce300c3_issue_0,ppce300c3_issue_1"   "ppce300c3_most")
++
++;; We could describe completion buffers slots in combination with the
++;; retirement units and the order of completion but the result
++;; automaton would behave in the same way because we can not describe
++;; real latency time with taking in order completion into account.
++;; Actually we could define the real latency time by querying reserved
++;; automaton units but the current scheduler uses latency time before
++;; issuing insns and making any reservations.
++;;
++;; So our description is aimed to achieve a insn schedule in which the
++;; insns would not wait in the completion buffer.
++(define_cpu_unit "ppce300c3_retire_0,ppce300c3_retire_1" "ppce300c3_retire")
++
++;; Branch unit:
++(define_cpu_unit "ppce300c3_bu" "ppce300c3_most")
++
++;; IU:
++(define_cpu_unit "ppce300c3_iu0_stage0,ppce300c3_iu1_stage0" "ppce300c3_most")
++
++;; IU: This used to describe non-pipelined division.
++(define_cpu_unit "ppce300c3_mu_div" "ppce300c3_long")
++
++;; SRU:
++(define_cpu_unit "ppce300c3_sru_stage0" "ppce300c3_most")
++
++;; Here we simplified LSU unit description not describing the stages.
++(define_cpu_unit "ppce300c3_lsu" "ppce300c3_most")
++
++;; FPU:
++(define_cpu_unit "ppce300c3_fpu" "ppce300c3_most")
++
++;; The following units are used to make automata deterministic
++(define_cpu_unit "present_ppce300c3_decode_0" "ppce300c3_most")
++(define_cpu_unit "present_ppce300c3_issue_0" "ppce300c3_most")
++(define_cpu_unit "present_ppce300c3_retire_0" "ppce300c3_retire")
++(define_cpu_unit "present_ppce300c3_iu0_stage0" "ppce300c3_most")
++
++;; The following sets to make automata deterministic when option ndfa is used.
++(presence_set "present_ppce300c3_decode_0" "ppce300c3_decode_0")
++(presence_set "present_ppce300c3_issue_0" "ppce300c3_issue_0")
++(presence_set "present_ppce300c3_retire_0" "ppce300c3_retire_0")
++(presence_set "present_ppce300c3_iu0_stage0" "ppce300c3_iu0_stage0")
++
++;; Some useful abbreviations.
++(define_reservation "ppce300c3_decode"
++    "ppce300c3_decode_0|ppce300c3_decode_1+present_ppce300c3_decode_0")
++(define_reservation "ppce300c3_issue"
++    "ppce300c3_issue_0|ppce300c3_issue_1+present_ppce300c3_issue_0")
++(define_reservation "ppce300c3_retire"
++   "ppce300c3_retire_0|ppce300c3_retire_1+present_ppce300c3_retire_0")
++(define_reservation "ppce300c3_iu_stage0"
++   "ppce300c3_iu0_stage0|ppce300c3_iu1_stage0+present_ppce300c3_iu0_stage0")
++
++;; Compares can be executed either one of the IU or SRU
++(define_insn_reservation "ppce300c3_cmp" 1
++  (and (eq_attr "type" "cmp,compare,delayed_compare,fast_compare")
++       (ior (eq_attr "cpu" "ppce300c2") (eq_attr "cpu" "ppce300c3")))
++  "ppce300c3_decode,ppce300c3_issue+(ppce300c3_iu_stage0|ppce300c3_sru_stage0) \
++        +ppce300c3_retire")
++
++;; Other one cycle IU insns
++(define_insn_reservation "ppce300c3_iu" 1
++  (and (eq_attr "type" "integer,insert_word")
++       (ior (eq_attr "cpu" "ppce300c2") (eq_attr "cpu" "ppce300%s
>>> DIFF TRUNCATED @ 16K






More information about the Openembedded-commits mailing list