]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Remove Ftrad, Fvsx, Fs; add s and sd
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Jun 2019 23:30:43 +0000 (23:30 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Jun 2019 23:30:43 +0000 (23:30 +0000)
commit05208189a4f9c8509690c34ab1c37704e40a1400
treebeda0b871dfcaddf412abf1dd7d7ff634e2411ee
parentbd3d6b8d47712c9c2f1dd15189bd3b12864d9c5b
rs6000: Remove Ftrad, Fvsx, Fs; add s and sd

This removes the <Ftrad>, <Fvsx>, and <Fs> mode attributes, and creates
new <sd> and <s> mode attributes instead.  <sd> is either "s" or "d",
depending on whether the mode is single-precision or double-precision
floating point; and <s> is either "s" or nothing.

* config/rs6000/rs6000.md (SFDF, SFDF2): Adjust comments.
(define_mode_attr sd): New.
(define_mode_attr s): New.
(define_mode_attr Ftrad): Delete.
(define_mode_attr Fvsx): Delete.
(define_mode_attr Fs): Delete.
(rest of file): Use the new mode attributes.
* config.rs6000/vsx.md: Use the new mode attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271931 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/vsx.md