No source change? Certainly the compiler could interpret FIXED BIN as FIXED BIN(127,0), but if I've coded, e.g., FIXED BIN(60,3), I would hope that the compiler would only use a doubleword unless and until I changed the source and recompiled.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Attila Fogarasi <fogar...@gmail.com> Sent: Wednesday, September 9, 2020 2:14 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: PL/I support of vector instructions? Enterprise PL/I 5.2 supports ARCH(12) so has your desired vector instruction support. For completeness, so do Cobol 6.2, XL/C 2.3 and Java 8.5. Again no source code change in PL/I is needed, just recompile with ARCH(12) option. Really sad that IBM doesn't publicize these features better.... vector usage can cut cpu and elapsed time dramatically (I've seen 80% reduction for intensive programs). Great reason to upgrade the hardware and compilers :) On Wed, Sep 9, 2020 at 3:59 PM Attila Fogarasi <fogar...@gmail.com> wrote: > For greater precision Enterprise PLI supports the hardware Decimal > Floating Point which is enabled with the compiler option of FLOAT(DFP), > this then changes all the DECIMAL FLOAT data declarations to be DFP > allowing maximum 34 digits (and exact decimal precision, important for > financial applications). The PL/I language itself is unchanged, so > existing source code switches to using DFP with a recompile (though changes > in DCL might be desirable). Vector DFP is part of ARCH(12) which came with > z14. So Enterprise PLI fully supports it already, best I can tell, but > doesn't highlight such support in the doc. I do DFP in assembler as I > couldn't wait for the compilers to add support and also want finer control > (the devil is in the details). > > On Wed, Sep 9, 2020 at 2:53 PM Seymour J Metz <sme...@gmu.edu> wrote: > >> Has IBM announced an intention to support the vector instructions to >> allow more precision for FIXED DEC and FIXED BIN in PL/I? Are there other >> vendors that support greater precision? >> >> >> -- >> Shmuel (Seymour J.) Metz >> http://mason.gmu.edu/~smetz3 >> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN >> > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN