From 3c18ec876818ba620c68b560e8bf201dec90425d Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 1 Jun 2014 04:07:03 +0000 Subject: compiler-rt: whitespace and uniformity for arm Make the whitespace a bit more uniform in the various assembly routines. This also makes the assembly files a bit more uniform on the ARM side by explicitly stating that it is using the unified syntax and that the contents of the code is in the text section (or segment). No functional change. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209985 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/builtins/x86_64/floatundidf.S | 10 ++++++---- lib/builtins/x86_64/floatundisf.S | 3 ++- lib/builtins/x86_64/floatundixf.S | 24 +++++++++++++++--------- 3 files changed, 23 insertions(+), 14 deletions(-) (limited to 'lib/builtins/x86_64') diff --git a/lib/builtins/x86_64/floatundidf.S b/lib/builtins/x86_64/floatundidf.S index 28babfdcf..65601dc1b 100644 --- a/lib/builtins/x86_64/floatundidf.S +++ b/lib/builtins/x86_64/floatundidf.S @@ -20,11 +20,13 @@ #ifndef __ELF__ .const #endif -.balign 4 -twop52: .quad 0x4330000000000000 + .balign 4 +twop52: + .quad 0x4330000000000000 twop84_plus_twop52: - .quad 0x4530000000100000 -twop84: .quad 0x4530000000000000 + .quad 0x4530000000100000 +twop84: + .quad 0x4530000000000000 #define REL_ADDR(_a) (_a)(%rip) diff --git a/lib/builtins/x86_64/floatundisf.S b/lib/builtins/x86_64/floatundisf.S index b5ca4f395..fa8177a90 100644 --- a/lib/builtins/x86_64/floatundisf.S +++ b/lib/builtins/x86_64/floatundisf.S @@ -10,7 +10,8 @@ #ifndef __ELF__ .literal4 #endif -two: .single 2.0 +two: + .single 2.0 #define REL_ADDR(_a) (_a)(%rip) diff --git a/lib/builtins/x86_64/floatundixf.S b/lib/builtins/x86_64/floatundixf.S index 36b837ce5..a0e8b1799 100644 --- a/lib/builtins/x86_64/floatundixf.S +++ b/lib/builtins/x86_64/floatundixf.S @@ -10,13 +10,15 @@ #ifndef __ELF__ .const #endif -.balign 4 -twop64: .quad 0x43f0000000000000 + .balign 4 +twop64: + .quad 0x43f0000000000000 #define REL_ADDR(_a) (_a)(%rip) -.text -.balign 4 + .text + + .balign 4 DEFINE_COMPILERRT_FUNCTION(__floatundixf) movq %rdi, -8(%rsp) fildq -8(%rsp) @@ -35,12 +37,16 @@ END_COMPILERRT_FUNCTION(__floatundixf) #ifdef __x86_64__ -.const -.balign 4 -twop52: .quad 0x4330000000000000 +#if defined(__APPLE__) + .const +#endif + .balign 4 +twop52: + .quad 0x4330000000000000 twop84_plus_twop52_neg: - .quad 0xc530000000100000 -twop84: .quad 0x4530000000000000 + .quad 0xc530000000100000 +twop84: + .quad 0x4530000000000000 #define REL_ADDR(_a) (_a)(%rip) -- cgit v1.2.3