On Tue, Jun 02, 2015 at 07:51:12PM +0300, Andrei Borzenkov wrote: > > What is the relation of -mgeneral-regs-only with +nofp? The decription > > of -mgeneral-regs-only in manual is very vague > > According to > http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0774a/chr1392305446662.html
That is ARM's commercial clang-based compiler suite though, not upstream clang. > 1.16 -mgeneral-regs-only > > Prevents the use of floating-point instructions or floating-point registers. > Note > The -mgeneral-regs-only option is only valid with the aarch64-arm-none-eabi > target. Use -mfpu=none to prevent the use of floating-point instructions or > floating-point registers for the armv8a-arm-none-eabi target. > > The description is for armclang; we can just hope that GCC is using the > same semantic. https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html --- Generate code which uses only the general registers. --- http://clang.llvm.org/docs/UsersManual.html --- Generate code which only uses the general purpose registers. This option restricts the generated code to use general registers only. This only applies to the AArch64 architecture. --- / Leif _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
