Project

General

Profile

Feature #8172

Fine-grained optimization needed for the gcc compiler

Added by Gary Mills over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2017-05-06
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The make-rules/shared-macros.mk file includes these four optimization settings for the Studio compiler:

studio_OPT.sparc.32 =   -xO4
studio_OPT.sparc.64 =   -xO4
studio_OPT.i386.32 =    -xO4
studio_OPT.i386.64 =    -xO4
studio_OPT =            $(studio_OPT.$(MACH).$(BITS))

This file has only one setting for the gcc compiler:

gcc_OPT =       -O3

I'm proposing the addition of four optimization settings for the gcc compiler as well. This will be useful because there are two oi-userland components that require reduced optimization only for 32-bit builds with gcc on the SPARC hardware platform.

History

#1

Updated by Aurélien Larcher over 2 years ago

Yes, it makes perfect sense to follow to keep symmetry between studio and gcc macros.
+1

Also available in: Atom PDF