r255238 - in /trunk/gcc: ChangeLog config/sparc...

danielh@gcc.gnu.org danielh@gcc.gnu.org
Wed Nov 29 15:41:00 GMT 2017


Author: danielh
Date: Wed Nov 29 15:41:45 2017
New Revision: 255238

URL: https://gcc.gnu.org/viewcvs?rev=255238&root=gcc&view=rev
Log:
[SPARC] Prevent -mfix-ut699 from generating b2bst errata sequences

The sequence
  st
  fdivd / fsqrtd
  std
was generated in some cases with -mfix-ut699 when there was
a st before the div/sqrt. This sequence could trigger the b2bst errata.

Now the following safe sequence is generated instead:
  st
  nop
  fdivd / fsqrtd
  std

2017-11-29  Martin Aberg  <maberg@gaisler.com>

gcc/
	* config/sparc/sparc.md (divdf3_fix): Add NOP and adjust length
        to prevent b2bst errata sequence.
        (sqrtdf2_fix): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sparc/sparc.md



More information about the Gcc-cvs mailing list