Commit a3957742 by Jiong Wang Committed by Jiong Wang

[AArch64] Cleanup whitespace in aarch64.c

2015-08-19  Jiong Wang  <jiong.wang@arm.com>

gcc/
  * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Replace
  whitespaces with tab.

From-SVN: r227005
parent 4a5dc599
2015-08-19 Jiong Wang <jiong.wang@arm.com>
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Replace
whitespaces with tab.
2015-08-13 Florian Weimer <fweimer@redhat.com> 2015-08-13 Florian Weimer <fweimer@redhat.com>
* prj.adb (For_Every_Project_Imported_Context.Recursive_Check_Context): * prj.adb (For_Every_Project_Imported_Context.Recursive_Check_Context):
......
...@@ -931,7 +931,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm, ...@@ -931,7 +931,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
The generate instruction sequence for accessing global variable The generate instruction sequence for accessing global variable
is: is:
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym] ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym]
Only one instruction needed. But we must initialize Only one instruction needed. But we must initialize
pic_offset_table_rtx properly. We generate initialize insn for pic_offset_table_rtx properly. We generate initialize insn for
...@@ -940,12 +940,12 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm, ...@@ -940,12 +940,12 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
The final instruction sequences will look like the following The final instruction sequences will look like the following
for multiply global variables access. for multiply global variables access.
adrp pic_offset_table_rtx, _GLOBAL_OFFSET_TABLE_ adrp pic_offset_table_rtx, _GLOBAL_OFFSET_TABLE_
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym1] ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym1]
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym2] ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym2]
ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym3] ldr reg, [pic_offset_table_rtx, #:gotpage_lo15:sym3]
... */ ... */
rtx s = gen_rtx_SYMBOL_REF (Pmode, "_GLOBAL_OFFSET_TABLE_"); rtx s = gen_rtx_SYMBOL_REF (Pmode, "_GLOBAL_OFFSET_TABLE_");
crtl->uses_pic_offset_table = 1; crtl->uses_pic_offset_table = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment