diff options
author | Alexey Neyman <stilor@att.net> | 2022-02-14 08:11:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 08:11:42 (GMT) |
commit | 681aaef1f1ff39c341fdc529e0db2c14639a58d8 (patch) | |
tree | ce98c2b3d9648db065d27add325370392a35d584 /packages/gcc/8.5.0/0022-ARC-Update-fma-expansions.patch | |
parent | ba680a3e5b8c62a7c1554e71f6d09903dac95a2f (diff) | |
parent | 86c2982568de1ad4d4cc12a65b19231331484405 (diff) |
Merge pull request #1674 from stilor/master
Updates to make `ct-ng build-all` pass
Diffstat (limited to 'packages/gcc/8.5.0/0022-ARC-Update-fma-expansions.patch')
-rw-r--r-- | packages/gcc/8.5.0/0022-ARC-Update-fma-expansions.patch | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/packages/gcc/8.5.0/0022-ARC-Update-fma-expansions.patch b/packages/gcc/8.5.0/0022-ARC-Update-fma-expansions.patch index c2680d5..380618f 100644 --- a/packages/gcc/8.5.0/0022-ARC-Update-fma-expansions.patch +++ b/packages/gcc/8.5.0/0022-ARC-Update-fma-expansions.patch @@ -18,13 +18,11 @@ gcc/testsuite git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261543 138bc75d-0d04-0410-961f-82ee72b054a4 --- - gcc/config/arc/fpu.md | 6 ++++++ - gcc/testsuite/gcc.target/arc/fma-1.c | 13 +++++++++++++ + gcc/config/arc/fpu.md | 6 ++++++ + gcc/testsuite/gcc.target/arc/fma-1.c | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 gcc/testsuite/gcc.target/arc/fma-1.c -diff --git a/gcc/config/arc/fpu.md b/gcc/config/arc/fpu.md -index 5c56f76c679..66a4d91616f 100644 --- a/gcc/config/arc/fpu.md +++ b/gcc/config/arc/fpu.md @@ -64,6 +64,9 @@ @@ -47,9 +45,6 @@ index 5c56f76c679..66a4d91616f 100644 }") (define_insn "fmasf4_fpu" -diff --git a/gcc/testsuite/gcc.target/arc/fma-1.c b/gcc/testsuite/gcc.target/arc/fma-1.c -new file mode 100644 -index 00000000000..c195ad98127 --- /dev/null +++ b/gcc/testsuite/gcc.target/arc/fma-1.c @@ -0,0 +1,13 @@ @@ -66,6 +61,3 @@ index 00000000000..c195ad98127 + return (float)3.0 * b + a; +} +/* { dg-final { scan-assembler "fsmadd" } } */ --- -2.16.2 - |