]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove -mfloat32, -mfloat64 switches from pdp11 target.
authorpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Oct 2018 17:37:56 +0000 (17:37 +0000)
committerpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Oct 2018 17:37:56 +0000 (17:37 +0000)
    * config/pdp11/pdp11.h (FLOAT_TYPE_SIZE): Always 32.
    * config/pdp11/pdp11.opt (mfloat32): Remove.
    (mfloat64): Remove.
    * doc/invoke.texi (pdp11 -mfloat32): Remove:
    (pdp11 -mfloat64): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264881 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pdp11/pdp11.h
gcc/config/pdp11/pdp11.opt
gcc/doc/invoke.texi

index 3451e7bae25c56c47c1c68575cfc136177504938..3ca3c1c28b6c8ddf66313eacf48f4136446a9404 100644 (file)
@@ -1,3 +1,11 @@
+2018-10-05  Paul Koning  <ni1d@arrl.net>
+
+       * config/pdp11/pdp11.h (FLOAT_TYPE_SIZE): Always 32.
+       * config/pdp11/pdp11.opt (mfloat32): Remove.
+       (mfloat64): Remove.
+       * doc/invoke.texi (pdp11 -mfloat32): Remove:
+       (pdp11 -mfloat64): Remove.
+
 2018-10-05  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (*cmpxf_i387): Change operand 2 predicate
index f4c91863b7a2e809d441653ca1845122efacd368..c68a74d91a0448db3e0d8bbd4300da4ac3db4229 100644 (file)
@@ -59,12 +59,14 @@ along with GCC; see the file COPYING3.  If not see
 #define LONG_TYPE_SIZE         32
 #define LONG_LONG_TYPE_SIZE    64     
 
-/* if we set FLOAT_TYPE_SIZE to 32, we could have the benefit 
-   of saving core for huge arrays - the definitions are 
-   already in md - but floats can never reside in 
-   an FPU register - we keep the FPU in double float mode 
-   all the time !! */
-#define FLOAT_TYPE_SIZE                (TARGET_FLOAT32 ? 32 : 64)
+/* In earlier versions, FLOAT_TYPE_SIZE was selectable as 32 or 64,
+   but that conflicts with Fortran language rules.  Since there is no
+   obvious reason why we should have that feature -- other targets
+   generally don't have float and double the same size -- I've removed
+   it.  Note that it continues to be true (for now) that arithmetic is
+   always done with 64-bit values, i.e., the FPU is always in "double"
+   mode.  */
+#define FLOAT_TYPE_SIZE                32
 #define DOUBLE_TYPE_SIZE       64
 #define LONG_DOUBLE_TYPE_SIZE  64
 
@@ -200,12 +202,11 @@ extern const struct real_format pdp11_d_format;
 
 MUL_REGS are used for odd numbered regs, to use in 16-bit multiplication
          (even numbered do 32-bit multiply)
-LMUL_REGS long multiply registers (even numbered regs )
-         (don't need them, all 32-bit regs are even numbered!)
 GENERAL_REGS is all cpu
 LOAD_FPU_REGS is the first four cpu regs, they are easier to load
 NO_LOAD_FPU_REGS is ac4 and ac5, currently - difficult to load them
 FPU_REGS is all fpu regs 
+CC_REGS is the condition codes (CPU and FPU)
 */
 
 enum reg_class
index 033d1d7403ebda2fcdb22ddff0b15c0a9a9e8463..5da3b39569c74de7139335c5b2761231bef6cc41 100644 (file)
@@ -42,14 +42,6 @@ mgnu-asm
 Target RejectNegative Report Mask(GNU_ASM) Negative(munix-asm)
 Use the GNU assembler syntax.
 
-mfloat32
-Target Report Mask(FLOAT32)
-Use 32 bit float.
-
-mfloat64
-Target Report InverseMask(FLOAT32, FLOAT64)
-Use 64 bit float.
-
 mfpu
 Target RejectNegative Report Mask(FPU)
 Use hardware floating point.
index 89c2eda58c47225a5997bbdf25788e2f97141f38..802cc642453aef2d2c516bcbda22246252ec87c1 100644 (file)
@@ -1007,7 +1007,6 @@ Objective-C and Objective-C++ Dialects}.
 @emph{PDP-11 Options}
 @gccoptlist{-mfpu  -msoft-float  -mac0  -mno-ac0  -m40  -m45  -m10 @gol
 -mint32  -mno-int16 -mint16  -mno-int32 @gol
--mfloat32  -mno-float64 -mfloat64  -mno-float32 @gol
 -msplit -munix-asm  -mdec-asm -mgnu-asm -mlra}
 
 @emph{picoChip Options}
@@ -22722,18 +22721,6 @@ Use 16-bit @code{int}.  This is the default.
 @opindex mno-int16
 Use 32-bit @code{int}.
 
-@item -mfloat64
-@itemx -mno-float32
-@opindex mfloat64
-@opindex mno-float32
-Use 64-bit @code{float}.  This is the default.
-
-@item -mfloat32
-@itemx -mno-float64
-@opindex mfloat32
-@opindex mno-float64
-Use 32-bit @code{float}.
-
 @item -msplit
 @opindex msplit
 Target has split instruction and data space.  Implies -m45.