Re: CLI vs. TRT

2022-07-07 Thread Seymour J Metz
[ASSEMBLER-LIST@LISTSERV.UGA.EDU] on behalf of Paul Gilmartin [0014e0e4a59b-dmarc-requ...@listserv.uga.edu] Sent: Thursday, July 7, 2022 10:57 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: CLI vs. TRT Given several target characters, at what value of "several" is the break-even b

Re: CLI vs. TRT

2022-07-07 Thread Paul Gilmartin
On Thu, 7 Jul 2022 08:19:42 -0700, Charles Mills wrote: > >> The CLI chain might be optimized by CLI first for the median value > >In fact, if there were enough I values, might one not effectively do a binary >search? There is an amusing coding problem. > Why didn't I think of that!? And

Re: CLI vs. TRT

2022-07-07 Thread Charles Mills
, 2022 8:32 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: CLI vs. TRT For values of "several" up to 16, you might want to look at VFAE. I haven't had a chance to use it yet, but it's on my list of vector instructions potentially useful for general coding. Robert Ngan DXC Luxoft ---

Re: CLI vs. TRT

2022-07-07 Thread Ngan, Robert (DXC Luxoft)
f Of Paul Gilmartin Sent: Thursday, July 7, 2022 09:57 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: CLI vs. TRT Given several target characters, at what value of "several" is the break-even between TRT and a chain of CLI; BC? (It's probably model-dependent.) The CLI chain might be op

Re: CLI vs. TRT

2022-07-07 Thread Jonathan Scott
gil writes: > Given several target characters, at what value of "several" is the > break-even between TRT and a chain of CLI; BC? Branching and looping are expensive, so for scanning more than one byte, I would always use TRT for more than one target value and in most cases I would use SRST for a

Re: CLI vs. TRT

2022-07-07 Thread Charles Mills
age- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Paul Gilmartin Sent: Thursday, July 7, 2022 7:57 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: CLI vs. TRT Given several target characters, at what value of "several" is the break-eve

CLI vs. TRT

2022-07-07 Thread Paul Gilmartin
Given several target characters, at what value of "several" is the break-even between TRT and a chain of CLI;  BC? (It's probably model-dependent.) The CLI chain might be optimized by CLI first for the median value and using the outcome to bypass half the remaining tests. -- gil