]> sourceware.org Git - cgen.git/commitdiff
* dev.scm: Add srcdir to %load-path.
authorDoug Evans <xdje42@gmail.com>
Thu, 9 Nov 2000 18:09:35 +0000 (18:09 +0000)
committerDoug Evans <xdje42@gmail.com>
Thu, 9 Nov 2000 18:09:35 +0000 (18:09 +0000)
* rtx-funcs.scm (subword): Mode of argument can be different
than mode of result, so don't use OP0 to specify argument's mode.

ChangeLog
dev.scm
rtx-funcs.scm

index 02a01d222d65a00ddeb0d6b6a6103c8abe6de8e4..5a356adfa99a8ff60878a8a153fe521d7727f6ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,9 @@
-2000-11-02  Ben Elliston  <bje@redhat.com>
+2000-11-09  Doug Evans  <dje@casey.transmeta.com>
 
-       * doc/porting.texi (Building a GAS test suite): Document my change
-       to gas-build.sh.
+       * dev.scm: Add srcdir to %load-path.
+
+       * rtx-funcs.scm (subword): Mode of argument can be different
+       than mode of result, so don't use OP0 to specify argument's mode.
 
 2000-11-01  Ben Elliston  <bje@redhat.com>
 
diff --git a/dev.scm b/dev.scm
index 66d1562402360ec0bb091ead7ec24b55ac470b4d..c473aa1353ca9cb737030d9901c38b175cb34ae5 100644 (file)
--- a/dev.scm
+++ b/dev.scm
@@ -16,6 +16,7 @@
 (load "fixup.scm")
 
 (define srcdir ".")
+(set! %load-path (cons srcdir %load-path))
 
 ; Utility to enable/disable compiled-in C code.
 
index 47bd058226452e5be409c5df446660b961569b00..92f4050037fed7e8ebd204f6782f8739739df99b 100644 (file)
 
 ; GCC's subreg.
 ; Called subword 'cus it's not exactly subreg.
-; Word numbering is from most signficant (word 0) to least (word N-1).
+; Word numbering is from most significant (word 0) to least (word N-1).
 ; ??? May also want an endian dependent word ordering.  That can be
 ; implemented on top of or beside this.
 ; ??? GCC plans to switch to SUBREG_BYTE.  Keep an eye out for the switch
 ; (which is extensive so probably won't happen anytime soon).
+;
+; The mode spec of operand0 use to be OP0, but subword is not a normal rtx.
+; The mode of operand0 is not necessarily the same as the mode of the result,
+; and code which analyzes it would otherwise use the result mode (specified by
+; `&mode') for the mode of operand0.
 
 (drn (subword &options &mode value word-num)
-     (OPTIONS NUMMODE RTX RTX) (NA NA OP0 INT)
+     (OPTIONS NUMMODE RTX RTX) (NA NA ANY INT)
      ARG
      #f
 )
This page took 0.031251 seconds and 5 git commands to generate.