[1/4] arc: Add length attribute to eh_return pattern.

Message ID 20200226145914.1358913-1-claziss@gmail.com
State New
Headers show
Series
  • [1/4] arc: Add length attribute to eh_return pattern.
Related show

Commit Message

Claudiu Zissulescu Feb. 26, 2020, 2:59 p.m.
Add length attribute to eh_return pattern.

gcc/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/arc/arc.md (eh_return): Add length info.
---
 gcc/config/arc/arc.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.24.1

Comments

Jeff Law Feb. 28, 2020, 4:56 p.m. | #1
On Wed, 2020-02-26 at 16:59 +0200, Claudiu Zissulescu wrote:
> Add length attribute to eh_return pattern.

> 

> gcc/

> xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

> 

> 	* config/arc/arc.md (eh_return): Add length info.

OK
jeff
>

Patch

diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md
index fb25aafb024..0d92674441d 100644
--- a/gcc/config/arc/arc.md
+++ b/gcc/config/arc/arc.md
@@ -6765,7 +6765,9 @@  archs4x, archs4xd"
     arc_eh_return_address_location (operands[0]);
     DONE;
   }"
-)
+  [(set_attr "length" "8")]
+  )
+
 ;; include the arc-FPX instructions
 (include "fpx.md")