diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2017-08-25 14:55:22 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2017-08-25 14:55:22 +0200 |
commit | 4affb2b02e486681b39add0dbaf4f873a91885c8 (patch) | |
tree | 06b045ee98934b00c341071758c9b905ecad057f /runtime/powerpc/i64_smulh.s | |
parent | 95ed4ea7df3e4b05d623afb9cb65f0eb2653361b (diff) | |
download | compcert-4affb2b02e486681b39add0dbaf4f873a91885c8.tar.gz compcert-4affb2b02e486681b39add0dbaf4f873a91885c8.zip |
Prefixed runtime functions.
The runtime functions are prefixed with compcert in order to
avoid potential clashes with runtime/builtin functions of other
compilers.
Bug 22062
Diffstat (limited to 'runtime/powerpc/i64_smulh.s')
-rw-r--r-- | runtime/powerpc/i64_smulh.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/powerpc/i64_smulh.s b/runtime/powerpc/i64_smulh.s index f01855f3..73393fce 100644 --- a/runtime/powerpc/i64_smulh.s +++ b/runtime/powerpc/i64_smulh.s @@ -44,8 +44,8 @@ # - subtract Y if X < 0 .balign 16 - .globl __i64_smulh -__i64_smulh: + .globl __compcert_i64_smulh +__compcert_i64_smulh: # r7:r8:r9 accumulate bits 127:32 of the full unsigned product mulhwu r9, r4, r6 # r9 = high half of XL.YL mullw r0, r4, r5 # r0 = low half of XL.YH @@ -75,6 +75,6 @@ __i64_smulh: subfc r4, r6, r8 # subtract Y subfe r3, r5, r7 blr - .type __i64_smulh, @function - .size __i64_smulh, .-__i64_smulh + .type __compcert_i64_smulh, @function + .size __compcert_i64_smulh, .-__compcert_i64_smulh |