mirror of git://gcc.gnu.org/git/gcc.git
i386.c (ix86_decompose_address): Prevent %fs:(%reg) addresses only when %reg is not in word mode.
* config/i386/i386.c (ix86_decompose_address): Prevent %fs:(%reg) addresses only when %reg is not in word mode. From-SVN: r185327
This commit is contained in:
parent
d47657bd1d
commit
9ec9602396
|
@ -1,3 +1,8 @@
|
||||||
|
2012-03-13 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
|
* config/i386/i386.c (ix86_decompose_address): Prevent %fs:(%reg)
|
||||||
|
addresses only when %reg is not in word mode.
|
||||||
|
|
||||||
2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
* config/microblaze/microblaze.md: Fix typo.
|
* config/microblaze/microblaze.md: Fix typo.
|
||||||
|
|
|
@ -11563,8 +11563,10 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seg != SEG_DEFAULT && (base || index)
|
/* Address override works only on the (%reg) part of %fs:(%reg). */
|
||||||
&& !TARGET_TLS_INDIRECT_SEG_REFS)
|
if (seg != SEG_DEFAULT
|
||||||
|
&& ((base && GET_MODE (base) != word_mode)
|
||||||
|
|| (index && GET_MODE (index) != word_mode)))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* Extract the integral value of scale. */
|
/* Extract the integral value of scale. */
|
||||||
|
|
Loading…
Reference in New Issue