From 5b295a81dd8e7650d334dc71581e64d5736bc3ab Mon Sep 17 00:00:00 2001 From: James Greenhalgh Date: Mon, 5 Oct 2015 13:18:08 +0000 Subject: [PATCH] [AArch64] Fix output assembly bug under TLSIE ILP32 2015-10-05 James Greenhalgh Jiong Wang * config/aarch64/aarch64.md (tlsie_tiny_sidi): Replace "" with "w". Co-Authored-By: Jiong Wang From-SVN: r228482 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aade459a00e..bd7626f5998 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-05 James Greenhalgh + Jiong Wang + + * config/aarch64/aarch64.md (tlsie_tiny_sidi): Replace "" with "w". + 2015-10-05 Richard Sandiford * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Delete. diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 74522f86105..208f58f6dcd 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -4738,7 +4738,7 @@ ] UNSPEC_GOTTINYTLS)))] "" - "ldr\\t%w0, %L1\;add\\t%0, %0, %2" + "ldr\\t%w0, %L1\;add\\t%w0, %w0, %w2" [(set_attr "type" "multiple") (set_attr "length" "8")] ) -- 2.30.2