Related articles |
---|
Run time optimizations sj3e@server.cs.virginia.edu (Sanjay Jinturkar) (1993-04-20) |
Re: Run time optimizations krishna@cs.unm.edu (1993-04-22) |
Re: Run time optimizations pardo@cs.washington.edu (1993-04-23) |
Re: Run time optimizations jim@float.co.uk (1993-04-23) |
Re: Run time optimizations haahr@mv.us.adobe.com (1993-04-24) |
Re: Run time optimizations jeremy@sw.oz.au (1993-04-28) |
Newsgroups: | comp.compilers |
From: | jim@float.co.uk (James Cownie) |
Keywords: | optimize, vector |
Organization: | Meiko World. |
References: | 93-04-069 |
Date: | Fri, 23 Apr 1993 20:51:26 GMT |
The technique of generating multiple posible implementations of a
particular piece of source, and then choosing the correct one at run time
based on the actual circumstances present at the time is fairly standard
in high performance vectorising compilers. These often generate both
vector and scalar code and then choose which to use based on the loop
length at run time. The technique is also used to allow vectorisation of
operations which may have a data dependancy for some values of a variable,
but not for others e.g.
do i = 2,10
a(i+j) = a(i)+1
end do
which certainly vectorises if j <= 0 or j >= 9 but does not for 1 <= j <= 8
-- Jim
James Cownie
Meiko Limited, 650 Aztec West, Bristol BS12 4SD, England
Meiko Inc., Reservoir Place, 1601 Trapelo Road, Waltham MA 02154
Phone : +44 454 616171 or +1 617 890 7676
FAX : +44 454 618188 or +1 617 890 5042
E-Mail: jim@meiko.co.uk or jim@meiko.com
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.