From: Ovi Nastai <ovi.nastai@broadcom.com>
To: musl@lists.openwall.com
Subject: musl gcc compiler generating "udiv" on a A9mp ARM core...
Date: Mon, 15 Aug 2016 09:51:55 -0400 [thread overview]
Message-ID: <df4fcd1236bc83d3762b064b5b5cbf88@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
Hi,
I have an A9mp based SoC.
My tool generates the “udiv” opcode, that it is not supported by the A9mp.
I also see the “__aeabi_uidiv” at times.
I need to have the tool generating exclusively “__aeabi_uidiv”, on my A9mp
system.
This is the tool’s version:
…
[onastai@bldsrv-ott-03 user]$
../../../../../toolchains/gcc-arm-tzos-musl-4_8-2015q1/bin/arm-tzos-musl-gcc
--version
arm-tzos-musl-gcc (GNU Tools for ARM Embedded Processors) 4.8.4 20140725
(release) [ARM/embedded-4_8-branch revision 213147]
Copyright (C) 2013 Free Software Foundation, Inc.
…
This is the command line (to show the flags):
…
../../../../../toolchains/gcc-arm-tzos-musl-4_8-2015q1/bin/arm-tzos-musl-gcc
-I. -I../../../../kernel/api -MD -MP -mcpu=cortex-a9 -mtune=mpcore
-mfpu=vfpv3 -D__TZOS__ -O2 -g -Wall -Werror -std=gnu99 -D_POSIX_SOURCE -c
signals_tests.c -o bin/signals_tests.o
../../../../../toolchains/gcc-arm-tzos-musl-4_8-2015q1/bin/arm-tzos-musl-g++
bin/signals_tests.o -o user.elf
…
Question: are there any flags to instruct the tool to NOT generate the
“udiv” opcodes, and replace them with “sw division” (i.e. “__aeabi_uidiv) ?
Tnx,
Ovi
[-- Attachment #2: Type: text/html, Size: 2798 bytes --]
next reply other threads:[~2016-08-15 13:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-15 13:51 Ovi Nastai [this message]
2016-08-15 14:24 ` Sebastian Gottschall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df4fcd1236bc83d3762b064b5b5cbf88@mail.gmail.com \
--to=ovi.nastai@broadcom.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).