Commit d3f952c5 by Jim Wilson Committed by Jim Wilson

RISC-V: Allow register pairs for 64-bit target.

	gcc/
	* config/riscv/riscv.h (MAX_FIXED_MODE_SIZE): New.

From-SVN: r257114
parent cc24ff0d
2018-01-26 Jim Wilson <jimw@sifive.com> 2018-01-26 Jim Wilson <jimw@sifive.com>
* config/riscv/riscv.h (MAX_FIXED_MODE_SIZE): New.
* config/riscv/elf.h (LIB_SPEC): Don't include -lgloss when nosys.specs * config/riscv/elf.h (LIB_SPEC): Don't include -lgloss when nosys.specs
specified. specified.
......
...@@ -158,6 +158,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -158,6 +158,10 @@ along with GCC; see the file COPYING3. If not see
#define PCC_BITFIELD_TYPE_MATTERS 1 #define PCC_BITFIELD_TYPE_MATTERS 1
/* An integer expression for the size in bits of the largest integer machine
mode that should actually be used. We allow pairs of registers. */
#define MAX_FIXED_MODE_SIZE GET_MODE_BITSIZE (TARGET_64BIT ? TImode : DImode)
/* If defined, a C expression to compute the alignment for a static /* If defined, a C expression to compute the alignment for a static
variable. TYPE is the data type, and ALIGN is the alignment that variable. TYPE is the data type, and ALIGN is the alignment that
the object would ordinarily have. The value of this macro is used the object would ordinarily have. The value of this macro is used
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment