From: Tom Rini Date: Tue, 4 Jul 2017 15:38:29 -0400 Subject: [U-Boot] [PATCH 1/2] armv8: apply -mgeneral-regs-only In-Reply-To: References: <1499087648-9617-1-git-send-email-peng.fan@nxp.com> <20170704133249.GH9889@bill-the-cat> Message-ID: <20170704193829.GM9889@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jul 04, 2017 at 06:38:10PM +0200, Dr. Philipp Tomsich wrote: > Tom, > > Please note that some GCC versions had a code-generation bug > when -mgeneral-regs-only was used (we hit this for a customer in > a vendor GCC we maintain): > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64304 > > Until everyone upgrades to a recently recent GCC (or until UBoot > enforces this next January), some people may hit hard-to-reproduce > issues. > > A better way to suppress SIMD generation would be to use: > -march=armv8-a+nosimd Ah, good to know. Peng, please re-spin. > > Regards, > Philipp. > > > On 04 Jul 2017, at 15:32, Tom Rini wrote: > > > > On Mon, Jul 03, 2017 at 09:14:07PM +0800, Peng Fan wrote: > > > >> Pass -mgeneral-regs-only to GCC, if not compiler may generate > >> instructions that use SIMD registers. > >> > >> Signed-off-by: Peng Fan > >> Cc: Albert Aribaud > >> Cc: Tom Rini > > > > Reviewed-by: Tom Rini > > > > -- > > Tom > > _______________________________________________ > > U-Boot mailing list > > U-Boot at lists.denx.de > > https://lists.denx.de/listinfo/u-boot > -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: