¿ªÔÆÌåÓý

Re: memset help
I was told back in the 1980s that for performance reasons MUSIC moved 4096 bytes of data via a series of MVC commands in place of one MVCL. -- Drew Derbyshire "All right, Mr. DeMille, I'm ready for my
By Drew Derbyshire · #989 ·
Re: memset help
I do indeed loath assembler - especially as I use the "infinite number of monkeys" method - however I have managed to detect the stack running out of space. Big day! A
By adriansutherland67 · #988 ·
Re: memset help
No drama!
By adriansutherland67 · #987 ·
Re: memset help
Adrian, I made a coding error in all three of the MEMSET texts that I sent ¨C in all of them I have this assembler instruction to declare register 15 as the code base register: USING 15,* USE R15 AS
By pjfarley3 · #986 ·
Re: memset help
By Dave Wade · #985 ·
Re: memset help
Yes. ?I did accomplish this and it is documented with scripts in the SATK. ?It used GNU as as the assembler for stand alone, aka bare metal, coding on Hercules. ?After literally years of work on
By Harold Grovesteen · #984 ·
Re: memset help
I remind everyone working with GCC on VM/370 that it is a port of the old i370 architecture version of GCC. ?The modern optimizations are likely to be quite limited. ?This GCC is not the same
By Harold Grovesteen · #983 ·
Re: memset help
Hi Steven, no, not that I know of. But it is good to remember because assumptions that it will end during a scheduler slice can be false. That is, in z/OS, where I, long time ago, came across errors
By [email protected] · #982 ·
Re: memset help
Is that part of the performance issue? I mean indirectly, of course. I don't really know the 370 architecture but I have come across a similar move instruction, LDIR on the Z80 that is rather slow.
By Steven Fosdick · #981 ·
Re: memset help
Translate - like the rexx function but then in assembler. Anecdote: I once got a performance problem on my desk. It did a character translation, in C. It looped through a string, and replaced
By [email protected] · #980 ·
Re: memset help
Now that sounds like a challenge! Let's see what we get with GCCLIB IO improvements. I will make sure my test lines are at least 100 characters long :-)
By adriansutherland67 · #979 ·
Re: memset help
? Anyway I am biased ... as it takes me about 5 mins to write a single line of S/370 assembler not counting debugging!
By adriansutherland67 · #978 ·
Re: memset help
Peter, When I first started work, I worked in small insurance UK insurance company. We had a Honeywell H3200, which basically ran IBM1401 code, but with "Improved io". We had one small program that
By Dave Wade · #977 ·
Re: memset help
It was for a long time already that compilers made faster code because the human coders kept on choosing storage-to-storage instructions where the register based versions were faster. But in cases
By [email protected] · #976 ·
Re: memset help
All interesting ... and I will try out each candidate and report back. It will be tested only on Hercules so in one sense not a fair test. On the other hand we could argue that that Hercules is S/370
By adriansutherland67 · #975 ·
Re: memset help
I wonder could this have been the COBOL compiler abusing MVCL instructions in situations where they were not the appropriate instructions to use? Perhaps instructions such as MVCL would be expected to
By Peter Coghlan · #974 ·
Re: memset help
Dave, I'm acutely aware of that IBM advice, but in the last two decades I have also been involved in multiple rounds of "MIPS-saving" projects when management wanted application teams to "do more with
By pjfarley3 · #973 ·
Re: memset help
Peter, I tend not to worry about performance, but any way I believe that IBM current advice is don't try and instruction timings disappeared from the manuals yonks ago. For example early 9370 were
By Dave Wade · #972 ·
Re: memset help
Because I did not remember that MVCL was available at the 370 architecture level (and failed to go look it up) and because MVCL has mostly been quite slow at the real-iron hardware level. Of course,
By pjfarley3 · #971 ·
Re: memset help
The other thing to remember about mvcl is that it is interruptible. Ren¨¦.
By [email protected] · #970 ·