Rev 16 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 16 | mjames | 1 | ARM GAS C:\Users\mike\AppData\Local\Temp\cciTXIgO.s page 1 |
| 2 | |||
| 3 | |||
| 4 | 1 .cpu cortex-m3 |
||
| 5 | 2 .eabi_attribute 20, 1 |
||
| 6 | 3 .eabi_attribute 21, 1 |
||
| 7 | 4 .eabi_attribute 23, 3 |
||
| 8 | 5 .eabi_attribute 24, 1 |
||
| 9 | 6 .eabi_attribute 25, 1 |
||
| 10 | 7 .eabi_attribute 26, 1 |
||
| 11 | 8 .eabi_attribute 30, 1 |
||
| 12 | 9 .eabi_attribute 34, 1 |
||
| 13 | 10 .eabi_attribute 18, 4 |
||
| 14 | 11 .file "ap_math.cpp" |
||
| 15 | 12 .text |
||
| 16 | 13 .Ltext0: |
||
| 17 | 14 .cfi_sections .debug_frame |
||
| 18 | 15 .global __aeabi_i2d |
||
| 19 | 16 .global __aeabi_ddiv |
||
| 20 | 17 .global __aeabi_dmul |
||
| 21 | 18 .global __aeabi_d2uiz |
||
| 22 | 19 .section .text._ZN7ap_mathC2Ev,"ax",%progbits |
||
| 23 | 20 .align 1 |
||
| 24 | 21 .global _ZN7ap_mathC2Ev |
||
| 25 | 22 .arch armv7-m |
||
| 26 | 23 .syntax unified |
||
| 27 | 24 .thumb |
||
| 28 | 25 .thumb_func |
||
| 29 | 26 .fpu softvfp |
||
| 30 | 28 _ZN7ap_mathC2Ev: |
||
| 31 | 29 .LVL0: |
||
| 32 | 30 .LFB226: |
||
| 33 | 31 .file 1 "../libOLED/src/ap_math.cpp" |
||
| 34 | 1:../libOLED/src/ap_math.cpp **** /* |
||
| 35 | 2:../libOLED/src/ap_math.cpp **** * ap_math.c |
||
| 36 | 3:../libOLED/src/ap_math.cpp **** |
||
| 37 | 4:../libOLED/src/ap_math.cpp **** * |
||
| 38 | 5:../libOLED/src/ap_math.cpp **** * Created on: 31 Jan 2016 |
||
| 39 | 6:../libOLED/src/ap_math.cpp **** * Author: Mike |
||
| 40 | 7:../libOLED/src/ap_math.cpp **** */ |
||
| 41 | 8:../libOLED/src/ap_math.cpp **** |
||
| 42 | 9:../libOLED/src/ap_math.cpp **** #include <math.h> |
||
| 43 | 10:../libOLED/src/ap_math.cpp **** #include "libOLED/ap_math.h" |
||
| 44 | 11:../libOLED/src/ap_math.cpp **** /* this is an approximate maths library where all the answers are accurate enough */ |
||
| 45 | 12:../libOLED/src/ap_math.cpp **** ap_math::ap_math() |
||
| 46 | 32 .loc 1 12 1 view -0 |
||
| 47 | 33 .cfi_startproc |
||
| 48 | 34 @ args = 0, pretend = 0, frame = 0 |
||
| 49 | 35 @ frame_needed = 0, uses_anonymous_args = 0 |
||
| 50 | 36 .loc 1 12 1 is_stmt 0 view .LVU1 |
||
| 51 | 37 0000 70B5 push {r4, r5, r6, lr} |
||
| 52 | 38 .LCFI0: |
||
| 53 | 39 .cfi_def_cfa_offset 16 |
||
| 54 | 40 .cfi_offset 4, -16 |
||
| 55 | 41 .cfi_offset 5, -12 |
||
| 56 | 42 .cfi_offset 6, -8 |
||
| 57 | 43 .cfi_offset 14, -4 |
||
| 58 | 44 0002 0646 mov r6, r0 |
||
| 59 | 45 .LBB2: |
||
| 60 | 46 .loc 1 12 18 view .LVU2 |
||
| 61 | ARM GAS C:\Users\mike\AppData\Local\Temp\cciTXIgO.s page 2 |
||
| 62 | |||
| 63 | |||
| 64 | 47 0004 4FF48073 mov r3, #256 |
||
| 65 | 48 0008 0360 str r3, [r0] |
||
| 66 | 49 .LBB3: |
||
| 67 | 13:../libOLED/src/ap_math.cpp **** { |
||
| 68 | 14:../libOLED/src/ap_math.cpp **** uint16_t i; |
||
| 69 | 50 .loc 1 14 5 is_stmt 1 view .LVU3 |
||
| 70 | 15:../libOLED/src/ap_math.cpp **** for(i=0;i<SINE_STEPS;i++) |
||
| 71 | 51 .loc 1 15 5 view .LVU4 |
||
| 72 | 52 .LVL1: |
||
| 73 | 53 .loc 1 15 10 is_stmt 0 view .LVU5 |
||
| 74 | 54 000a 0024 movs r4, #0 |
||
| 75 | 55 .LVL2: |
||
| 76 | 56 .L3: |
||
| 77 | 57 .loc 1 15 14 discriminator 3 view .LVU6 |
||
| 78 | 58 000c B4F5B47F cmp r4, #360 |
||
| 79 | 59 0010 18D2 bcs .L2 |
||
| 80 | 16:../libOLED/src/ap_math.cpp **** sintab[i]=sin(i/(SINE_STEPS*2.0)*3.14159)*AP_K; |
||
| 81 | 60 .loc 1 16 5 is_stmt 1 discriminator 2 view .LVU7 |
||
| 82 | 61 .loc 1 16 20 is_stmt 0 discriminator 2 view .LVU8 |
||
| 83 | 62 0012 2046 mov r0, r4 |
||
| 84 | 63 0014 FFF7FEFF bl __aeabi_i2d |
||
| 85 | 64 .LVL3: |
||
| 86 | 65 0018 0022 movs r2, #0 |
||
| 87 | 66 001a 0D4B ldr r3, .L5+8 |
||
| 88 | 67 001c FFF7FEFF bl __aeabi_ddiv |
||
| 89 | 68 .LVL4: |
||
| 90 | 69 .loc 1 16 18 discriminator 2 view .LVU9 |
||
| 91 | 70 0020 09A3 adr r3, .L5 |
||
| 92 | 71 0022 D3E90023 ldrd r2, [r3] |
||
| 93 | 72 0026 FFF7FEFF bl __aeabi_dmul |
||
| 94 | 73 .LVL5: |
||
| 95 | 74 002a FFF7FEFF bl sin |
||
| 96 | 75 .LVL6: |
||
| 97 | 76 .loc 1 16 46 discriminator 2 view .LVU10 |
||
| 98 | 77 002e 0022 movs r2, #0 |
||
| 99 | 78 0030 084B ldr r3, .L5+12 |
||
| 100 | 79 0032 FFF7FEFF bl __aeabi_dmul |
||
| 101 | 80 .LVL7: |
||
| 102 | 81 .loc 1 16 14 discriminator 2 view .LVU11 |
||
| 103 | 82 0036 3519 adds r5, r6, r4 |
||
| 104 | 83 0038 FFF7FEFF bl __aeabi_d2uiz |
||
| 105 | 84 .LVL8: |
||
| 106 | 85 003c 2871 strb r0, [r5, #4] |
||
| 107 | 15:../libOLED/src/ap_math.cpp **** for(i=0;i<SINE_STEPS;i++) |
||
| 108 | 86 .loc 1 15 5 discriminator 2 view .LVU12 |
||
| 109 | 87 003e 0134 adds r4, r4, #1 |
||
| 110 | 88 .LVL9: |
||
| 111 | 15:../libOLED/src/ap_math.cpp **** for(i=0;i<SINE_STEPS;i++) |
||
| 112 | 89 .loc 1 15 5 discriminator 2 view .LVU13 |
||
| 113 | 90 0040 A4B2 uxth r4, r4 |
||
| 114 | 91 .LVL10: |
||
| 115 | 15:../libOLED/src/ap_math.cpp **** for(i=0;i<SINE_STEPS;i++) |
||
| 116 | 92 .loc 1 15 5 discriminator 2 view .LVU14 |
||
| 117 | 93 0042 E3E7 b .L3 |
||
| 118 | 94 .L2: |
||
| 119 | 15:../libOLED/src/ap_math.cpp **** for(i=0;i<SINE_STEPS;i++) |
||
| 120 | 95 .loc 1 15 5 discriminator 2 view .LVU15 |
||
| 121 | ARM GAS C:\Users\mike\AppData\Local\Temp\cciTXIgO.s page 3 |
||
| 122 | |||
| 123 | |||
| 124 | 96 .LBE3: |
||
| 125 | 97 .LBE2: |
||
| 126 | 17:../libOLED/src/ap_math.cpp **** } |
||
| 127 | 98 .loc 1 17 3 view .LVU16 |
||
| 128 | 99 0044 3046 mov r0, r6 |
||
| 129 | 100 0046 70BD pop {r4, r5, r6, pc} |
||
| 130 | 101 .LVL11: |
||
| 131 | 102 .L6: |
||
| 132 | 103 .loc 1 17 3 view .LVU17 |
||
| 133 | 104 .align 3 |
||
| 134 | 105 .L5: |
||
| 135 | 106 0048 6E861BF0 .word -266631570 |
||
| 136 | 107 004c F9210940 .word 1074340345 |
||
| 137 | 108 0050 00808640 .word 1082556416 |
||
| 138 | 109 0054 00007040 .word 1081081856 |
||
| 139 | 110 .cfi_endproc |
||
| 140 | 111 .LFE226: |
||
| 141 | 113 .global _ZN7ap_mathC1Ev |
||
| 142 | 114 .thumb_set _ZN7ap_mathC1Ev,_ZN7ap_mathC2Ev |
||
| 143 | 115 .section .text._ZN7ap_math6ap_sinEi,"ax",%progbits |
||
| 144 | 116 .align 1 |
||
| 145 | 117 .global _ZN7ap_math6ap_sinEi |
||
| 146 | 118 .syntax unified |
||
| 147 | 119 .thumb |
||
| 148 | 120 .thumb_func |
||
| 149 | 121 .fpu softvfp |
||
| 150 | 123 _ZN7ap_math6ap_sinEi: |
||
| 151 | 124 .LFB228: |
||
| 152 | 18:../libOLED/src/ap_math.cpp **** |
||
| 153 | 19:../libOLED/src/ap_math.cpp **** /* returns 255 * sin(ang) where ang is in degrees */ |
||
| 154 | 20:../libOLED/src/ap_math.cpp **** int |
||
| 155 | 21:../libOLED/src/ap_math.cpp **** ap_math::ap_sin (int ang) |
||
| 156 | 22:../libOLED/src/ap_math.cpp **** { |
||
| 157 | 125 .loc 1 22 1 is_stmt 1 view -0 |
||
| 158 | 126 .cfi_startproc |
||
| 159 | 127 @ args = 0, pretend = 0, frame = 0 |
||
| 160 | 128 @ frame_needed = 0, uses_anonymous_args = 0 |
||
| 161 | 129 @ link register save eliminated. |
||
| 162 | 130 .LVL12: |
||
| 163 | 131 .L9: |
||
| 164 | 23:../libOLED/src/ap_math.cpp **** /* wrap into range */ |
||
| 165 | 24:../libOLED/src/ap_math.cpp **** while (ang < 0) |
||
| 166 | 132 .loc 1 24 3 view .LVU19 |
||
| 167 | 133 .loc 1 24 14 is_stmt 0 view .LVU20 |
||
| 168 | 134 0000 0029 cmp r1, #0 |
||
| 169 | 135 0002 02DA bge .L8 |
||
| 170 | 25:../libOLED/src/ap_math.cpp **** { |
||
| 171 | 26:../libOLED/src/ap_math.cpp **** ang += SINE_STEPS * 4; |
||
| 172 | 136 .loc 1 26 7 is_stmt 1 view .LVU21 |
||
| 173 | 137 .loc 1 26 11 is_stmt 0 view .LVU22 |
||
| 174 | 138 0004 01F5B461 add r1, r1, #1440 |
||
| 175 | 139 .LVL13: |
||
| 176 | 24:../libOLED/src/ap_math.cpp **** { |
||
| 177 | 140 .loc 1 24 3 view .LVU23 |
||
| 178 | 141 0008 FAE7 b .L9 |
||
| 179 | 142 .LVL14: |
||
| 180 | 143 .L8: |
||
| 181 | ARM GAS C:\Users\mike\AppData\Local\Temp\cciTXIgO.s page 4 |
||
| 182 | |||
| 183 | |||
| 184 | 27:../libOLED/src/ap_math.cpp **** } |
||
| 185 | 28:../libOLED/src/ap_math.cpp **** while (ang >= SINE_STEPS * 4) |
||
| 186 | 144 .loc 1 28 3 is_stmt 1 view .LVU24 |
||
| 187 | 145 .loc 1 28 14 is_stmt 0 view .LVU25 |
||
| 188 | 146 000a B1F5B46F cmp r1, #1440 |
||
| 189 | 147 000e 02DB blt .L10 |
||
| 190 | 29:../libOLED/src/ap_math.cpp **** { |
||
| 191 | 30:../libOLED/src/ap_math.cpp **** ang -= SINE_STEPS * 4; |
||
| 192 | 148 .loc 1 30 7 is_stmt 1 view .LVU26 |
||
| 193 | 149 .loc 1 30 11 is_stmt 0 view .LVU27 |
||
| 194 | 150 0010 A1F5B461 sub r1, r1, #1440 |
||
| 195 | 151 .LVL15: |
||
| 196 | 28:../libOLED/src/ap_math.cpp **** { |
||
| 197 | 152 .loc 1 28 3 view .LVU28 |
||
| 198 | 153 0014 F9E7 b .L8 |
||
| 199 | 154 .L10: |
||
| 200 | 31:../libOLED/src/ap_math.cpp **** } |
||
| 201 | 32:../libOLED/src/ap_math.cpp **** |
||
| 202 | 33:../libOLED/src/ap_math.cpp **** if (ang >= 0 && ang < SINE_STEPS) |
||
| 203 | 155 .loc 1 33 3 is_stmt 1 view .LVU29 |
||
| 204 | 156 0016 B1F5B47F cmp r1, #360 |
||
| 205 | 157 001a 15D3 bcc .L17 |
||
| 206 | 34:../libOLED/src/ap_math.cpp **** { |
||
| 207 | 35:../libOLED/src/ap_math.cpp **** return (sintab[ang]); |
||
| 208 | 36:../libOLED/src/ap_math.cpp **** } |
||
| 209 | 37:../libOLED/src/ap_math.cpp **** else if (ang == SINE_STEPS) |
||
| 210 | 158 .loc 1 37 8 view .LVU30 |
||
| 211 | 159 001c B1F5B47F cmp r1, #360 |
||
| 212 | 160 0020 15D0 beq .L18 |
||
| 213 | 38:../libOLED/src/ap_math.cpp **** { |
||
| 214 | 39:../libOLED/src/ap_math.cpp **** return AP_K; |
||
| 215 | 40:../libOLED/src/ap_math.cpp **** } |
||
| 216 | 41:../libOLED/src/ap_math.cpp **** else if (ang > SINE_STEPS && ang <= SINE_STEPS * 2) |
||
| 217 | 161 .loc 1 41 8 view .LVU31 |
||
| 218 | 162 .loc 1 41 29 is_stmt 0 view .LVU32 |
||
| 219 | 163 0022 A1F26912 subw r2, r1, #361 |
||
| 220 | 164 .loc 1 41 8 view .LVU33 |
||
| 221 | 165 0026 B2F5B47F cmp r2, #360 |
||
| 222 | 166 002a 12D3 bcc .L19 |
||
| 223 | 42:../libOLED/src/ap_math.cpp **** { |
||
| 224 | 43:../libOLED/src/ap_math.cpp **** return (sintab[SINE_STEPS * 2 - ang]); |
||
| 225 | 44:../libOLED/src/ap_math.cpp **** } |
||
| 226 | 45:../libOLED/src/ap_math.cpp **** else if (ang == 3 * SINE_STEPS) |
||
| 227 | 167 .loc 1 45 8 is_stmt 1 view .LVU34 |
||
| 228 | 168 002c B1F5876F cmp r1, #1080 |
||
| 229 | 169 0030 14D0 beq .L20 |
||
| 230 | 46:../libOLED/src/ap_math.cpp **** { |
||
| 231 | 47:../libOLED/src/ap_math.cpp **** return -AP_K; |
||
| 232 | 48:../libOLED/src/ap_math.cpp **** } |
||
| 233 | 49:../libOLED/src/ap_math.cpp **** if (ang > SINE_STEPS * 2 && ang < SINE_STEPS * 3) |
||
| 234 | 170 .loc 1 49 3 view .LVU35 |
||
| 235 | 171 .loc 1 49 28 is_stmt 0 view .LVU36 |
||
| 236 | 172 0032 A1F2D123 subw r3, r1, #721 |
||
| 237 | 173 .loc 1 49 3 view .LVU37 |
||
| 238 | 174 0036 B3F5B37F cmp r3, #358 |
||
| 239 | 175 003a 12D8 bhi .L16 |
||
| 240 | 50:../libOLED/src/ap_math.cpp **** { |
||
| 241 | ARM GAS C:\Users\mike\AppData\Local\Temp\cciTXIgO.s page 5 |
||
| 242 | |||
| 243 | |||
| 244 | 51:../libOLED/src/ap_math.cpp **** return (-sintab[ang - SINE_STEPS * 2]); |
||
| 245 | 176 .loc 1 51 7 is_stmt 1 view .LVU38 |
||
| 246 | 177 .loc 1 51 27 is_stmt 0 view .LVU39 |
||
| 247 | 178 003c A1F53471 sub r1, r1, #720 |
||
| 248 | 179 .LVL16: |
||
| 249 | 180 .loc 1 51 43 view .LVU40 |
||
| 250 | 181 0040 0144 add r1, r1, r0 |
||
| 251 | 182 .LVL17: |
||
| 252 | 183 .loc 1 51 43 view .LVU41 |
||
| 253 | 184 0042 0879 ldrb r0, [r1, #4] @ zero_extendqisi2 |
||
| 254 | 185 .LVL18: |
||
| 255 | 186 .loc 1 51 44 view .LVU42 |
||
| 256 | 187 0044 4042 rsbs r0, r0, #0 |
||
| 257 | 188 0046 7047 bx lr |
||
| 258 | 189 .LVL19: |
||
| 259 | 190 .L17: |
||
| 260 | 35:../libOLED/src/ap_math.cpp **** } |
||
| 261 | 191 .loc 1 35 7 is_stmt 1 view .LVU43 |
||
| 262 | 35:../libOLED/src/ap_math.cpp **** } |
||
| 263 | 192 .loc 1 35 25 is_stmt 0 view .LVU44 |
||
| 264 | 193 0048 0144 add r1, r1, r0 |
||
| 265 | 194 .LVL20: |
||
| 266 | 35:../libOLED/src/ap_math.cpp **** } |
||
| 267 | 195 .loc 1 35 25 view .LVU45 |
||
| 268 | 196 004a 0879 ldrb r0, [r1, #4] @ zero_extendqisi2 |
||
| 269 | 197 .LVL21: |
||
| 270 | 35:../libOLED/src/ap_math.cpp **** } |
||
| 271 | 198 .loc 1 35 26 view .LVU46 |
||
| 272 | 199 004c 7047 bx lr |
||
| 273 | 200 .LVL22: |
||
| 274 | 201 .L18: |
||
| 275 | 39:../libOLED/src/ap_math.cpp **** } |
||
| 276 | 202 .loc 1 39 7 is_stmt 1 view .LVU47 |
||
| 277 | 39:../libOLED/src/ap_math.cpp **** } |
||
| 278 | 203 .loc 1 39 14 is_stmt 0 view .LVU48 |
||
| 279 | 204 004e 0068 ldr r0, [r0] |
||
| 280 | 205 .LVL23: |
||
| 281 | 39:../libOLED/src/ap_math.cpp **** } |
||
| 282 | 206 .loc 1 39 14 view .LVU49 |
||
| 283 | 207 0050 7047 bx lr |
||
| 284 | 208 .LVL24: |
||
| 285 | 209 .L19: |
||
| 286 | 43:../libOLED/src/ap_math.cpp **** } |
||
| 287 | 210 .loc 1 43 7 is_stmt 1 view .LVU50 |
||
| 288 | 43:../libOLED/src/ap_math.cpp **** } |
||
| 289 | 211 .loc 1 43 37 is_stmt 0 view .LVU51 |
||
| 290 | 212 0052 C1F53471 rsb r1, r1, #720 |
||
| 291 | 213 .LVL25: |
||
| 292 | 43:../libOLED/src/ap_math.cpp **** } |
||
| 293 | 214 .loc 1 43 42 view .LVU52 |
||
| 294 | 215 0056 0144 add r1, r1, r0 |
||
| 295 | 216 0058 0879 ldrb r0, [r1, #4] @ zero_extendqisi2 |
||
| 296 | 217 .LVL26: |
||
| 297 | 43:../libOLED/src/ap_math.cpp **** } |
||
| 298 | 218 .loc 1 43 43 view .LVU53 |
||
| 299 | 219 005a 7047 bx lr |
||
| 300 | 220 .LVL27: |
||
| 301 | ARM GAS C:\Users\mike\AppData\Local\Temp\cciTXIgO.s page 6 |
||
| 302 | |||
| 303 | |||
| 304 | 221 .L20: |
||
| 305 | 47:../libOLED/src/ap_math.cpp **** } |
||
| 306 | 222 .loc 1 47 7 is_stmt 1 view .LVU54 |
||
| 307 | 47:../libOLED/src/ap_math.cpp **** } |
||
| 308 | 223 .loc 1 47 15 is_stmt 0 view .LVU55 |
||
| 309 | 224 005c 0068 ldr r0, [r0] |
||
| 310 | 225 .LVL28: |
||
| 311 | 47:../libOLED/src/ap_math.cpp **** } |
||
| 312 | 226 .loc 1 47 14 view .LVU56 |
||
| 313 | 227 005e 4042 rsbs r0, r0, #0 |
||
| 314 | 47:../libOLED/src/ap_math.cpp **** } |
||
| 315 | 228 .loc 1 47 15 view .LVU57 |
||
| 316 | 229 0060 7047 bx lr |
||
| 317 | 230 .LVL29: |
||
| 318 | 231 .L16: |
||
| 319 | 52:../libOLED/src/ap_math.cpp **** } |
||
| 320 | 53:../libOLED/src/ap_math.cpp **** else |
||
| 321 | 54:../libOLED/src/ap_math.cpp **** /* ang > 270 and ang < 360 */ |
||
| 322 | 55:../libOLED/src/ap_math.cpp **** { |
||
| 323 | 56:../libOLED/src/ap_math.cpp **** return (-sintab[SINE_STEPS * 4 - ang]); |
||
| 324 | 232 .loc 1 56 7 is_stmt 1 view .LVU58 |
||
| 325 | 233 .loc 1 56 38 is_stmt 0 view .LVU59 |
||
| 326 | 234 0062 C1F5B461 rsb r1, r1, #1440 |
||
| 327 | 235 .LVL30: |
||
| 328 | 236 .loc 1 56 43 view .LVU60 |
||
| 329 | 237 0066 0144 add r1, r1, r0 |
||
| 330 | 238 0068 0879 ldrb r0, [r1, #4] @ zero_extendqisi2 |
||
| 331 | 239 .LVL31: |
||
| 332 | 240 .loc 1 56 44 view .LVU61 |
||
| 333 | 241 006a 4042 rsbs r0, r0, #0 |
||
| 334 | 57:../libOLED/src/ap_math.cpp **** } |
||
| 335 | 58:../libOLED/src/ap_math.cpp **** } |
||
| 336 | 242 .loc 1 58 1 view .LVU62 |
||
| 337 | 243 006c 7047 bx lr |
||
| 338 | 244 .cfi_endproc |
||
| 339 | 245 .LFE228: |
||
| 340 | 247 .section .text._ZN7ap_math6ap_cosEi,"ax",%progbits |
||
| 341 | 248 .align 1 |
||
| 342 | 249 .global _ZN7ap_math6ap_cosEi |
||
| 343 | 250 .syntax unified |
||
| 344 | 251 .thumb |
||
| 345 | 252 .thumb_func |
||
| 346 | 253 .fpu softvfp |
||
| 347 | 255 _ZN7ap_math6ap_cosEi: |
||
| 348 | 256 .LVL32: |
||
| 349 | 257 .LFB229: |
||
| 350 | 59:../libOLED/src/ap_math.cpp **** |
||
| 351 | 60:../libOLED/src/ap_math.cpp **** /* returns 255 * cos(ang) where ang is in degrees */ |
||
| 352 | 61:../libOLED/src/ap_math.cpp **** int |
||
| 353 | 62:../libOLED/src/ap_math.cpp **** ap_math::ap_cos (int ang) |
||
| 354 | 63:../libOLED/src/ap_math.cpp **** { |
||
| 355 | 258 .loc 1 63 1 is_stmt 1 view -0 |
||
| 356 | 259 .cfi_startproc |
||
| 357 | 260 @ args = 0, pretend = 0, frame = 0 |
||
| 358 | 261 @ frame_needed = 0, uses_anonymous_args = 0 |
||
| 359 | 262 .loc 1 63 1 is_stmt 0 view .LVU64 |
||
| 360 | 263 0000 08B5 push {r3, lr} |
||
| 361 | ARM GAS C:\Users\mike\AppData\Local\Temp\cciTXIgO.s page 7 |
||
| 362 | |||
| 363 | |||
| 364 | 264 .LCFI1: |
||
| 365 | 265 .cfi_def_cfa_offset 8 |
||
| 366 | 266 .cfi_offset 3, -8 |
||
| 367 | 267 .cfi_offset 14, -4 |
||
| 368 | 64:../libOLED/src/ap_math.cpp **** return ap_sin (SINE_STEPS - ang); |
||
| 369 | 268 .loc 1 64 3 is_stmt 1 view .LVU65 |
||
| 370 | 269 .loc 1 64 17 is_stmt 0 view .LVU66 |
||
| 371 | 270 0002 C1F5B471 rsb r1, r1, #360 |
||
| 372 | 271 .LVL33: |
||
| 373 | 272 .loc 1 64 17 view .LVU67 |
||
| 374 | 273 0006 FFF7FEFF bl _ZN7ap_math6ap_sinEi |
||
| 375 | 274 .LVL34: |
||
| 376 | 65:../libOLED/src/ap_math.cpp **** } |
||
| 377 | 275 .loc 1 65 1 view .LVU68 |
||
| 378 | 276 000a 08BD pop {r3, pc} |
||
| 379 | 277 .cfi_endproc |
||
| 380 | 278 .LFE229: |
||
| 381 | 280 .text |
||
| 382 | 281 .Letext0: |
||
| 383 | 282 .file 2 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
| 384 | 283 .file 3 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
| 385 | 284 .file 4 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
| 386 | 285 .file 5 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
| 387 | 286 .file 6 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
| 388 | 287 .file 7 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
| 389 | 288 .file 8 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
| 390 | 289 .file 9 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
| 391 | 290 .file 10 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1. |
||
| 392 | 291 .file 11 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1. |
||
| 393 | 292 .file 12 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1. |
||
| 394 | 293 .file 13 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1. |
||
| 395 | 294 .file 14 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1. |
||
| 396 | 295 .file 15 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1. |
||
| 397 | 296 .file 16 "../libOLED/inc/libOLED/ap_math.h" |
||
| 398 | 297 .file 17 "<built-in>" |
||
| 399 | ARM GAS C:\Users\mike\AppData\Local\Temp\cciTXIgO.s page 8 |
||
| 400 | |||
| 401 | |||
| 402 | DEFINED SYMBOLS |
||
| 403 | *ABS*:0000000000000000 ap_math.cpp |
||
| 404 | C:\Users\mike\AppData\Local\Temp\cciTXIgO.s:20 .text._ZN7ap_mathC2Ev:0000000000000000 $t |
||
| 405 | C:\Users\mike\AppData\Local\Temp\cciTXIgO.s:28 .text._ZN7ap_mathC2Ev:0000000000000000 _ZN7ap_mathC2Ev |
||
| 406 | C:\Users\mike\AppData\Local\Temp\cciTXIgO.s:106 .text._ZN7ap_mathC2Ev:0000000000000048 $d |
||
| 407 | C:\Users\mike\AppData\Local\Temp\cciTXIgO.s:28 .text._ZN7ap_mathC2Ev:0000000000000000 _ZN7ap_mathC1Ev |
||
| 408 | C:\Users\mike\AppData\Local\Temp\cciTXIgO.s:116 .text._ZN7ap_math6ap_sinEi:0000000000000000 $t |
||
| 409 | C:\Users\mike\AppData\Local\Temp\cciTXIgO.s:123 .text._ZN7ap_math6ap_sinEi:0000000000000000 _ZN7ap_math6ap_sinEi |
||
| 410 | C:\Users\mike\AppData\Local\Temp\cciTXIgO.s:248 .text._ZN7ap_math6ap_cosEi:0000000000000000 $t |
||
| 411 | C:\Users\mike\AppData\Local\Temp\cciTXIgO.s:255 .text._ZN7ap_math6ap_cosEi:0000000000000000 _ZN7ap_math6ap_cosEi |
||
| 412 | |||
| 413 | UNDEFINED SYMBOLS |
||
| 414 | __aeabi_i2d |
||
| 415 | __aeabi_ddiv |
||
| 416 | __aeabi_dmul |
||
| 417 | __aeabi_d2uiz |
||
| 418 | sin |