From 2cece67cb5af0339e4ab1f18b0bce2f0b4e6ebdd Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Wed, 23 Oct 2019 03:38:32 +0200 Subject: Removed intermediate files --- device/lib/stm8/tanhf.asm | 296 ---------------------------------------------- 1 file changed, 296 deletions(-) delete mode 100644 device/lib/stm8/tanhf.asm (limited to 'device/lib/stm8/tanhf.asm') diff --git a/device/lib/stm8/tanhf.asm b/device/lib/stm8/tanhf.asm deleted file mode 100644 index c8480a5..0000000 --- a/device/lib/stm8/tanhf.asm +++ /dev/null @@ -1,296 +0,0 @@ -;-------------------------------------------------------- -; File Created by SDCC : free open source ANSI-C Compiler -; Version 3.9.3 #11345 (Linux) -;-------------------------------------------------------- - .module tanhf - .optsdcc -mstm8 - -;-------------------------------------------------------- -; Public variables in this module -;-------------------------------------------------------- - .globl _fabsf - .globl _expf - .globl _tanhf -;-------------------------------------------------------- -; ram data -;-------------------------------------------------------- - .area DATA -;-------------------------------------------------------- -; ram data -;-------------------------------------------------------- - .area INITIALIZED -;-------------------------------------------------------- -; absolute external ram data -;-------------------------------------------------------- - .area DABS (ABS) - -; default segment ordering for linker - .area HOME - .area GSINIT - .area GSFINAL - .area CONST - .area INITIALIZER - .area CODE - -;-------------------------------------------------------- -; global & static initialisations -;-------------------------------------------------------- - .area HOME - .area GSINIT - .area GSFINAL - .area GSINIT -;-------------------------------------------------------- -; Home -;-------------------------------------------------------- - .area HOME - .area HOME -;-------------------------------------------------------- -; code -;-------------------------------------------------------- - .area CODE -; ../tanhf.c: 50: float tanhf(float x) _FLOAT_FUNC_REENTRANT -; ----------------------------------------- -; function tanhf -; ----------------------------------------- -_tanhf: - sub sp, #12 -; ../tanhf.c: 54: f=fabsf(x); - ldw x, (0x11, sp) - pushw x - ldw x, (0x11, sp) - pushw x - call _fabsf - addw sp, #4 - ldw (0x03, sp), x - ldw (0x01, sp), y -; ../tanhf.c: 55: if(f>SBIG) r=1.0; - ldw x, (0x03, sp) - pushw x - ldw x, (0x03, sp) - pushw x - push #0xb0 - push #0x2c - push #0x10 - push #0x41 - call ___fslt - addw sp, #8 - ld (0x0c, sp), a - jreq 00108$ - clrw x - ldw (0x0b, sp), x - ldw x, #0x3f80 - ldw (0x09, sp), x - jp 00109$ -00108$: -; ../tanhf.c: 56: else if(f>K1) - ldw x, (0x03, sp) - pushw x - ldw x, (0x03, sp) - pushw x - push #0x54 - push #0x9f - push #0x0c - push #0x3f - call ___fslt - addw sp, #8 - tnz a - jreq 00105$ -; ../tanhf.c: 58: r=0.5-1.0/(expf(f+f)+1.0); - ldw x, (0x03, sp) - pushw x - ldw x, (0x03, sp) - pushw x - ldw x, (0x07, sp) - pushw x - ldw x, (0x07, sp) - pushw x - call ___fsadd - addw sp, #8 - ldw (0x0b, sp), x - ldw (0x09, sp), y - ldw x, (0x0b, sp) - pushw x - ldw x, (0x0b, sp) - pushw x - call _expf - addw sp, #4 - ldw (0x0b, sp), x - ldw (0x09, sp), y - clrw x - pushw x - push #0x80 - push #0x3f - ldw x, (0x0f, sp) - pushw x - ldw x, (0x0f, sp) - pushw x - call ___fsadd - addw sp, #8 - ldw (0x0b, sp), x - ldw (0x09, sp), y - ldw x, (0x0b, sp) - pushw x - ldw x, (0x0b, sp) - pushw x - clrw x - pushw x - push #0x80 - push #0x3f - call ___fsdiv - addw sp, #8 - pushw x - pushw y - clrw x - pushw x - push #0x00 - push #0x3f - call ___fssub - addw sp, #8 - ldw (0x0b, sp), x - ldw (0x09, sp), y -; ../tanhf.c: 59: r+=r; - ldw x, (0x0b, sp) - pushw x - ldw x, (0x0b, sp) - pushw x - ldw x, (0x0f, sp) - pushw x - ldw x, (0x0f, sp) - pushw x - call ___fsadd - addw sp, #8 - ldw (0x0b, sp), x - ldw (0x09, sp), y - jp 00109$ -00105$: -; ../tanhf.c: 61: else if(f