os/kernelhwsrv/kernel/eka/compsupp/rvct2_2/dfpaeabi.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "ARM EABI LICENCE.txt"
     5 // which accompanies this distribution, and is available
     6 // in kernel/eka/compsupp.
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // This function is simple a way to get these EXPORT statements into
    15 // the .in file. These symbols will therefore be referenced from
    16 // the export table and so **forced** into the DLL
    17 // 
    18 //
    19 
    20 __asm void __rt_exporter_dummy(void)
    21 {
    22 	AREA |.directive|, READONLY, NOALLOC
    23 
    24 	PRESERVE8
    25 
    26 	DCB "#<SYMEDIT>#\n"
    27 
    28 /// Standard double precision floating-point arithmetic helper functions
    29 
    30 	DCB "EXPORT __aeabi_dadd\n"
    31 	DCB "EXPORT __aeabi_ddiv\n"
    32 	DCB "EXPORT __aeabi_dmul\n"
    33 	DCB "EXPORT __aeabi_dneg\n"
    34 	DCB "EXPORT __aeabi_drsub\n"
    35 	DCB "EXPORT __aeabi_dsub\n"
    36 
    37 /// Standard double precision floating-point comparison helper functions
    38 
    39 	DCB "EXPORT __aeabi_cdcmpeq\n"
    40 	DCB "EXPORT __aeabi_cdcmple\n"
    41 	DCB "EXPORT __aeabi_cdrcmple\n"
    42 	DCB "EXPORT __aeabi_dcmpeq\n"
    43 	DCB "EXPORT __aeabi_dcmplt\n"
    44 	DCB "EXPORT __aeabi_dcmple\n"
    45 	DCB "EXPORT __aeabi_dcmpge\n"
    46 	DCB "EXPORT __aeabi_dcmpgt\n"
    47 	DCB "EXPORT __aeabi_dcmpun\n"
    48 
    49 /// Standard single precision floating-point arithmetic helper functions
    50 
    51 	DCB "EXPORT __aeabi_fadd\n"
    52 	DCB "EXPORT __aeabi_fdiv\n"
    53 	DCB "EXPORT __aeabi_fmul\n"
    54 	DCB "EXPORT __aeabi_fneg\n"
    55 	DCB "EXPORT __aeabi_frsub\n"
    56 	DCB "EXPORT __aeabi_fsub\n"
    57 
    58 /// Standard single precision floating-point comparison helper functions
    59 
    60 	DCB "EXPORT __aeabi_cfcmpeq\n"
    61 	DCB "EXPORT __aeabi_cfcmple\n"
    62 	DCB "EXPORT __aeabi_cfrcmple\n"
    63 	DCB "EXPORT __aeabi_fcmpeq\n"
    64 	DCB "EXPORT __aeabi_fcmplt\n"
    65 	DCB "EXPORT __aeabi_fcmple\n"
    66 	DCB "EXPORT __aeabi_fcmpge\n"
    67 	DCB "EXPORT __aeabi_fcmpgt\n"
    68 	DCB "EXPORT __aeabi_fcmpun\n"
    69 
    70 /// Standard floating-point to integer conversions
    71 
    72 	DCB "EXPORT __aeabi_d2iz\n"
    73 	DCB "EXPORT __aeabi_d2uiz\n"
    74 	DCB "EXPORT __aeabi_d2lz\n"
    75 	DCB "EXPORT __aeabi_d2ulz\n"
    76 	DCB "EXPORT __aeabi_f2iz\n"
    77 	DCB "EXPORT __aeabi_f2uiz\n"
    78 	DCB "EXPORT __aeabi_f2lz\n"
    79 	DCB "EXPORT __aeabi_f2ulz\n"
    80 
    81 /// Standard conversions between floating types
    82 
    83 	DCB "EXPORT __aeabi_d2f\n"
    84 	DCB "EXPORT __aeabi_f2d\n"
    85 
    86 /// Standard integer to floating-point conversions
    87 
    88 	DCB "EXPORT __aeabi_i2d\n"
    89 	DCB "EXPORT __aeabi_ui2d\n"
    90 	DCB "EXPORT __aeabi_l2d\n"
    91 	DCB "EXPORT __aeabi_ul2d\n"
    92 	DCB "EXPORT __aeabi_i2f\n"
    93 	DCB "EXPORT __aeabi_ui2f\n"
    94 	DCB "EXPORT __aeabi_l2f\n"
    95 	DCB "EXPORT __aeabi_ul2f\n"
    96 }