clang 64-bit MIPS enabled in OpenBSD

Additional operating system/hardware discussion (Windows, Linux, *BSD and others)
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
cesss
Posts: 97
Joined: Mon Apr 27, 2009 8:02 am

clang 64-bit MIPS enabled in OpenBSD

Unread postby cesss » Sun Feb 19, 2017 7:28 am

I've just found a commit in the OpenBSD tree, related to enabling MIPS support in clang. However, IIRC, clang wasn't yet ready for outputting MIPS3 nor MIPS4 code. Has that changed? If affirmative, I consider this a great achievement, as it would mean clang would run on SGI hardware... Anybody has any idea on how is it progressing, and what difficulties (if any) are still there?

User avatar
Raion-Fox
Donor
Donor
Posts: 1224
Joined: Thu Jan 30, 2014 5:01 pm
Location: near King George, Virginia
Contact:

Re: clang 64-bit MIPS enabled in OpenBSD

Unread postby Raion-Fox » Sun Feb 19, 2017 8:57 am

It would have to support the o32/n32/n64 ABI, output big endian code and a number of other things I'm not sure if it's ready to do or not.
:O3x02L: R16000 700MHz 8GB RAM kanna
:Octane: R12000 300MHz SI 896MB RAM yuuka
:Octane2: R12000A 400MHz V6 2.5GB RAM
:Indy: (Acclaim) R4600 133MHz XL Graphics 32MB RAM
:Indy: (Challenge S) R4600 133MHz (MIPS III Build Server)
:O2: R10000 225MHz 256MB RAM 15k 147GB HDD suzuha
Thinkpad W530 i7 3940XM 3GHz, 32GB, K1000M FreeBSD 11/Windows 7 rin
Acer Aspire 5157 (headless) 4GB, FreeBSD 11 kuran
Thinkpad R40 Pentium M 1.5GHz 2GB RAM kasha

cesss
Posts: 97
Joined: Mon Apr 27, 2009 8:02 am

Re: clang 64-bit MIPS enabled in OpenBSD

Unread postby cesss » Sun Feb 19, 2017 1:52 pm

Raion-Fox wrote:It would have to support the o32/n32/n64 ABI, output big endian code and a number of other things I'm not sure if it's ready to do or not.

AFAIK, OpenBSD runs only as 64bit on SGIs. Not sure about the ABI. Theoretically, the ABI could be totally different to IRIX, unless there's some constraint imposed by the MC or other ASIC, but I don't think there's a limit on the ABIs you can implement on SGI hardware.

kev009
Posts: 102
Joined: Wed Nov 12, 2008 8:02 pm
Location: Tempe, Arizona
Contact:

Re: clang 64-bit MIPS enabled in OpenBSD

Unread postby kev009 » Wed Feb 22, 2017 11:26 pm

OpenBSD runs on octeon, as in the EdgeRouter Lite.
SGI Fuel, Indy R5k
IBM RS/6000 7006-42T, 7011-250, 7012-397, 7012-G40 (upgraded to 4x 200MHz PPC), ThinkPad 710TE vintage tablet, ThinkPad T400, various System X, NetVista 2800
Sun Ultra 27 Xeon Quad Core 3.20GHz, Sunblade 2500 Silver, SunFire V445
HP c8000

http://ps-2.kev009.com:8081/ - IBM Retro
http://www.kev009.com/ - Blog
Free Usenet access for comp.* heirarchy. Send me a message for posting access.

cesss
Posts: 97
Joined: Mon Apr 27, 2009 8:02 am

Re: clang 64-bit MIPS enabled in OpenBSD

Unread postby cesss » Fri Feb 24, 2017 12:29 am

kev009 wrote:OpenBSD runs on octeon, as in the EdgeRouter Lite.

SGI is listed as with current support too: https://www.openbsd.org/sgi.html Hence my question about if anybody tried the just recently enabled clang in OpenBSD.

User avatar
miod
Posts: 474
Joined: Fri Oct 09, 2009 2:44 am
Location: Clermont-Ferrand (France)
Contact:

Re: clang 64-bit MIPS enabled in OpenBSD

Unread postby miod » Mon Feb 27, 2017 1:20 am

cesss wrote:I've just found a commit in the OpenBSD tree, related to enabling MIPS support in clang. However, IIRC, clang wasn't yet ready for outputting MIPS3 nor MIPS4 code. Has that changed? If affirmative, I consider this a great achievement, as it would mean clang would run on SGI hardware... Anybody has any idea on how is it progressing, and what difficulties (if any) are still there?

Hold your horses. This commit only made possible to build clang on mips-based OpenBSD ports, for developers (and bold users) to tinker with. The compiler used (and shipped) on these ports is still gcc.
:Indigo:R4000 :Indigo:R4000 :Indigo:R4000 :Indigo2:R4400 :Indigo2IMP:R4400 :Indigo2:R8000 :Indigo2IMP:R10000 :Indy:R4000PC :Indy:R4000SC :Indy:R4600 :Indy:R5000SC :O2:R5000 :O2:RM7000 :Octane:2xR10000 :Octane:R12000 :O200:2xR12000 :O200: - :O200:2x2xR10000 :Fuel:R16000 :O3x0:4xR16000 :A350:
among more than 150 machines : Apollo, Data General, Digital, HP, IBM, MIPS before SGI, Motorola, NeXT, SGI, Solbourne, Sun...


Return to “Miscellaneous Operating Systems/Hardware”

Who is online

Users browsing this forum: No registered users and 2 guests