This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Medium model support in GCC
On Mon, Jul 18, 2005 at 02:42:43PM +0200, Jan Hubicka wrote:
> + case UNSPEC_GOTOFF:
> + /* For 64bit target we have to deal with GOTOFF as 64bit values,
> + for 32bit targets these are always part of addressing mode
> + there is no point to allow dealing with them separately -
> + doing so just increase register pressure. */
> + if (!TARGET_64BIT)
> + return false;
> + return local_symbolic_operand (XVECEXP (inner, 0, 0), Pmode);
You didn't address my rejection here.
> if (GET_CODE (disp) == SYMBOL_REF
> ! && !SYMBOL_REF_FAR_ADDR_P (disp)
> && SYMBOL_REF_LOCAL_P (disp))
You made one change here ...
> if (((GET_CODE (op0) == SYMBOL_REF
> ! && (ix86_cmodel == CM_SMALL_PIC
> ! || (ix86_cmodel == CM_MEDIUM_PIC
> ! && !SYMBOL_REF_FAR_ADDR_P (op0)))
> && SYMBOL_REF_LOCAL_P (op0))
... but not all instances. There are at least 3 more.
> + mlarge-data-treshold=
Misspelled "threshold", all instances.
r~