RISC-V: Allow register pairs for 64-bit target.
gcc/ * config/riscv/riscv.h (MAX_FIXED_MODE_SIZE): New. From-SVN: r257114
This commit is contained in:
parent
cc24ff0dc2
commit
d3f952c5e0
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
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
|
||||
specified.
|
||||
|
||||
|
|
|
@ -158,6 +158,10 @@ along with GCC; see the file COPYING3. If not see
|
|||
|
||||
#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
|
||||
variable. TYPE is the data type, and ALIGN is the alignment that
|
||||
the object would ordinarily have. The value of this macro is used
|
||||
|
|
Loading…
Add table
Reference in a new issue