Lines Matching +full:- +full:a
3 # SPDX-License-Identifier: BSD-3-Clause
26 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
37 qemu="qemu-system-arm"
51 cpu_arch=`arm-none-eabi-readelf -A "$elf" | awk '/Tag_CPU_arch:/ { print $2 }'`
52 cpu_profile=`arm-none-eabi-readelf -A "$elf" | awk '/Tag_CPU_arch_profile:/ { print $2 }'`
53 fp_arch=`arm-none-eabi-readelf -A "$elf" | awk '/Tag_FP_arch/ { print $2 }'`
54 fp_use=`arm-none-eabi-readelf -A "$elf" | awk '/Tag_ABI_HardFP_use/ { print $2 }'`
55 ram_addr=`arm-none-eabi-readelf -l "$elf" | awk '/LOAD.*RW/ { if (min_va == 0 || $3 < min_va) min_v…
64 v6S-M/Microcontroller)
65 cpu=cortex-m0
70 cpu=cortex-a9
72 VFPv3-D16)
73 cpu=cortex-a8
76 cpu=cortex-a7
79 cpu=cortex-a7
86 cpu=cortex-r5
88 VFPv3-D16)
89 cpu=cortex-r5f
92 cpu=cortex-r5
98 FPv5/FP-D16)
101 cpu=cortex-m4
104 cpu=cortex-m7
108 VFPv4-D16)
109 cpu=cortex-m7
112 cpu=cortex-m3
117 cpu=cortex-r5f
119 v7E-M/Microcontroller)
120 cpu=cortex-m7
122 FPv5/FP-D16)
125 cpu=cortex-m4
129 VFPv4-D16)
130 cpu=cortex-m7
133 cpu=cortex-m4
138 v8-M.*/Microcontroller)
140 FPv5/FP-D16)
143 cpu=cortex-m33
146 cpu=cortex-m55
151 cpu=cortex-m33
155 v8.1-M.mainline/Microcontroller)
156 cpu=cortex-m55
159 cpu=cortex-a57
164 # Select a QEMU machine based on the CPU
168 cortex-m0)
170 memory="-global nrf51-soc.sram-size=2097152 -global nrf51-soc.flash-size=4194304"
173 # mps2-an385 offers a cortex-m3 processor
174 cortex-m3)
175 machine=mps2-an385
178 # mps2-an386 offers a cortex-m4 processor
179 cortex-m4)
180 machine=mps2-an386
183 # mps2-an500 offers a cortex-m7 processor
184 cortex-m7)
185 machine=mps2-an500
188 # mps2-an505 offers a cortex-m33 processor
189 cortex-m33)
190 machine=mps2-an505
193 # mps3-an547 offers a cortex-m55 processor
194 cortex-m55)
195 machine=mps3-an547
198 cortex-a57)
201 memory="-m 1G"
204 cortex-a?)
207 machine=vexpress-a9
208 cpu=cortex-a9
214 memory="-m 1G"
217 # The 'none' machine supports many non-M
219 ti925t|arm*|cortex-a*|cortex-r*)
221 memory="-m 1G"
229 if $qemu -machine help | grep -q "^$machine "; then
230 if $qemu -machine $machine -cpu help | grep -q "^ *$cpu"; then
241 # Map stdio to a multiplexed character device so we can use it
248 cmdline="program-name"
254 --)
258 -s|"")
293 -chardev "$chardev" \
294 -semihosting-config "$semi" \
295 -monitor "$mon" \
296 -serial "$serial" \
297 -machine "$machine",accel=tcg \
298 -cpu "$cpu" \
299 -device loader,file="$elf",cpu-num=0 \
300 -nographic \
307 # Cortex-a8 qemu has minor floating point errors
309 cortex-a8)
310 test="$(uname -m)-$elf"
312 i?86-*math_test|i?86-*math_test_?|i?86-*math_test_??)
313 echo "fp imprecise for $cpu on" "$(uname -m)"