Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bake PSYQ default compiler flags into the -psx flavours of the compilers #28

Closed
mkst opened this issue Sep 10, 2024 · 1 comment · Fixed by #29
Closed

Bake PSYQ default compiler flags into the -psx flavours of the compilers #28

mkst opened this issue Sep 10, 2024 · 1 comment · Fixed by #29

Comments

@mkst
Copy link
Contributor

mkst commented Sep 10, 2024

per title.

e.g. PSYQ 2.95.2:

GNU C version 2.8.1 SN32 BUILD 4.0.0010 (PSX) compiled by CC.
options passed:
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -msplit-addresses -mgas -mgpOPT
 -mgpopt -msoft-float -mcpu=R3000

our gcc-2.8.1-psx:

GNU C version 2.8.1 (mips-sony-psx) compiled by GNU C version 9.4.0.
options passed: 
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -mcpu=R3000
@mkst
Copy link
Contributor Author

mkst commented Sep 11, 2024

work-in-progress.. PR incoming when I get a bit further.

2.6.0 🟢

psyq:

GNU C 2.6.0 [AL 1.1, MM 40] Sony Playstation compiled by GNU C

Cc1 defaults:
-mgas -msoft-float

Cc1 arguments (-G value = 8, Cpu = 3000, ISA = 1):

old-gcc:

 # GNU C 2.6.0 [AL 1.1, MM 40] Sony Playstation compiled by GNU C

 # Cc1 defaults:
 # -mgas -msoft-float

 # Cc1 arguments (-G value = 8, Cpu = 3000, ISA = 1):

2.7.2 🟢

psyq:

GNU C++ 2.7.2.SN.1 [AL 1.1, MM 40] Sony Playstation compiled by GNU C

Cc1 defaults:
-mgas -msoft-float

Cc1 arguments (-G value = 8, Cpu = 3000, ISA = 1):

old-gcc:

 # GNU C 2.7.2 [AL 1.1, MM 40] Sony Playstation compiled by GNU C

 # Cc1 defaults:
 # -mgas -msoft-float

 # Cc1 arguments (-G value = 8, Cpu = R3000, ISA = 1):

2.8.0 🟢

psyq:

GNU C version 2.8.0 SN32 Build 4.0.0007 (SonyPlayStation) compiled by CC.
options passed:
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -msplit-addresses -mgas -mgpOPT
 -mgpopt -msoft-float -mcpu=R3000

old-gcc:

GNU C version 2.8.0 (mips-sony-psx) compiled by GNU C version 9.4.0.
options passed: 
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -msplit-addresses -mgas -mgpOPT
 -mgpopt -msoft-float -mcpu=R3000

2.8.1 🟢

psyq:

GNU C version 2.8.1 SN32 BUILD 4.0.0010 (PSX) compiled by CC.
options passed:
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -msplit-addresses -mgas -mgpOPT
 -mgpopt -msoft-float -mcpu=R3000

old-gcc:

GNU C version 2.8.1 (mips-sony-psx) compiled by GNU C version 9.4.0.
options passed: 
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -msplit-addresses -mgas -mgpOPT
 -mgpopt -msoft-float -mcpu=R3000

2.91.66 🟢

psyq:

GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release) (PSX) compiled by CC.
options passed:
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -fargument-alias
 -msplit-addresses -mgas -mgpOPT -mgpopt -msoft-float -mcpu=r3000

old-gcc:

GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release) (mips-sony-psx) compiled by GNU C version 9.4.0.
options passed: 
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -fargument-alias
 -msplit-addresses -mgas -mgpOPT -mgpopt -msoft-float -mcpu=R3000

2.95.2 🟢

psyq:

GNU C version 2.95.2 19991024 BUILD 4.0.0030 (PSX) compiled by CC.
options passed:
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -fargument-alias -fident
 -msplit-addresses -mgas -mgpOPT -mgpopt -msoft-float -mcpu=r3000

old-gcc:

GNU C version 2.95.2 19991024 (release) (mips-sony-psx) compiled by GNU C version 9.4.0.
options passed: 
options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
 -fpcc-struct-return -fcommon -fgnu-linker -fargument-alias -fident
 -msplit-addresses -mgas -mgpOPT -mgpopt -msoft-float -mcpu=R3000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant