s390 port

2021-09-02 Thread Paul Edwards via Gcc
Hi Ulrich. Sorry for the necro - things happen slowly Down Under. :-) Anyway, I am helping someone with their public domain project, UDOS - https://github.com/udos-project/udos (just a hobby, won't be big and professional like Linux) We got the IPL process in place on ESA/390, and then I decid

Re: s390 port

2021-09-02 Thread Paul Edwards via Gcc
Hi Ulrich. Below is the output as text. Thanks. Paul. make all-recursive make[1]: Entering directory '/home/robertapengelly/Desktop/UDOS' Making all in kernel make[2]: Entering directory '/home/robertapengelly/Desktop/UDOS/kernel' depbase=`echo irq.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ s39

Re: s390 port

2021-09-02 Thread Paul Edwards via Gcc
Hi Ulrich. I just checked my copy of s390.md and I don’t see LA being used for arithmetic. If your copy of s390.md is using LA for arithmetic then would it be possible to have an option to use a normal mathematics instruction instead of LA? Do you have any more examples besides LA being used for

Re: s390 port

2021-09-02 Thread Ulrich Weigand via Gcc
Hi Paul, "Paul Edwards" wrote on 02.09.2021 10:15:44: > We got the IPL process in place on ESA/390, and then > I decided that the next thing to do would be to switch > to z/Arch so that we could get rid of the AMODE 31 > architectural limit on 32-bit programs. > > It all worked fine, and we w

Re: s390 port

2021-09-02 Thread Ulrich Weigand via Gcc
Hi Paul, > I just checked my copy of s390.md and I don’t see > LA being used for arithmetic. This would be the "*la_31" and "*la_31_and" patterns. (Note that the addition is implicit in the use of the "address_operand" constraint.) > If your copy of s390.md is using LA for arithmetic > then wo

Re: s390 port

2021-09-02 Thread Ulrich Weigand via Gcc
"Paul Edwards" wrote on 02.09.2021 16:50:35: > Could you give me an example of an instruction > generated by –m31 that is not expected to work > on an AM64 system? Well, everything related to address computation, of course. For example, GCC may use LA on -m31 to implement a 31-bit addition, w

Re: s390 port

2021-09-02 Thread Paul Edwards via Gcc
>> I just checked my copy of s390.md and I don’t see >> LA being used for arithmetic. > This would be the "*la_31" and "*la_31_and" patterns. Sorry, I did a grep for “LA”, forgetting that s390.md doesn’t use uppercase instructions. > (Note that the addition is implicit in the use of > the "addres

Re: s390 port

2021-09-02 Thread Paul Edwards via Gcc
Hi Ulrich. Thanks a lot for your reply. Could you give me an example of an instruction generated by –m31 that is not expected to work on an AM64 system? E.g. the 32-bit LR R2,R3 will definitely work on AM64. So what specifically won’t work? How many different things won’t work? Thanks. Paul.

Re: s390 port

2021-09-02 Thread Ulrich Weigand via Gcc
"Paul Edwards" wrote on 02.09.2021 17:26:25: > > Therefore again my question, what is the actual goal > > you want to achieve? I'm still not sure I understand > > that ... > I would like to know what is required to implement > “-m32” in the S/390 target. I realize that z/Arch > doesn’t have a

Re: s390 port

2021-09-02 Thread Paul Edwards via Gcc
Hi Ulrich. Thanks for your detailed reply. >> > Therefore again my question, what is the actual goal >> > you want to achieve? I'm still not sure I understand >> > that ... >> I would like to know what is required to implement >> “-m32” in the S/390 target. I realize that z/Arch >> doesn’t have

Re: s390 port

2021-09-02 Thread Andreas Schwab
On Sep 03 2021, Paul Edwards via Gcc wrote: > The “legacy” environment of z/Linux etc would be 32-bit > instead of 31-bit. IBM’s reputation will be restored. IBM > will have the best architecture on the planet. Better than > x64 because no mode switch is required shifting between > 32-bit and 64-b

gcc-9-20210902 is now available

2021-09-02 Thread GCC Administrator via Gcc
Snapshot gcc-9-20210902 is now available on https://gcc.gnu.org/pub/gcc/snapshots/9-20210902/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 9 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch