forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 1006 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Incorrect results for sum(vector expression)
mecej4

Replies: 4
Views: 61

PostForum: Support   Posted: Mon Nov 19, 2018 9:24 am   Subject:
John: Thanks for testing, and for the F77 version.


Where did you get this code from ? What would happen if N is not a multiple of 4 ?

During the last few months, I replaced an older laptop wit ...
  Topic: Incorrect results for sum(vector expression)
mecej4

Replies: 4
Views: 61

PostForum: Support   Posted: Sun Nov 18, 2018 5:34 pm   Subject: Incorrect results for sum(vector expression)
FTN95 8.30.279 produces incorrect results or aborts with floating point errors for the following correct code. The value on line-21 was chosen to make the result to be exactly 0.
program tfu
implici ...
  Topic: Difference between release and checkmate?
mecej4

Replies: 15
Views: 491

PostForum: General   Posted: Thu Nov 15, 2018 2:53 pm   Subject:
SDBG is the Silverfrost symbolic debugger, and it may be used either by itself or from the Plato Editor/IDE. I have found it to be a well-designed, efficient tool for debugging programs compiled using ...
  Topic: Difference between release and checkmate?
mecej4

Replies: 15
Views: 491

PostForum: General   Posted: Thu Nov 15, 2018 1:17 pm   Subject:
Compaq Fortran does not emit SSE2 code; only X87 instructions are used for floating point arithmetic. If FTN95 was used only to generate 32-bit code in both check and release modes, the resulting prog ...
  Topic: AVX512 makes killing speed?
mecej4

Replies: 6
Views: 239

PostForum: General   Posted: Mon Nov 12, 2018 1:29 am   Subject: Re:
BTW, the RO's two pages of assembler text is not the elegant one line call but two pages of totally incomprehensible nonsense for all 100% fortraners minus a few. You do "fasm upcase.asm" an ...
  Topic: AVX512 makes killing speed?
mecej4

Replies: 6
Views: 239

PostForum: General   Posted: Sun Nov 11, 2018 6:57 pm   Subject: Re:
call upcase@ (text)
Yes; instead of
call upcase(text)
for R.O.'s AVX routine. Since FTN95 does not support opening a file with ACCESS='STREAM', you would have to read/convert/write ...
  Topic: Array expressions mishandled when /opt is used
mecej4

Replies: 14
Views: 462

PostForum: 64-bit   Posted: Sun Nov 11, 2018 2:34 pm   Subject: Re:
I looked at array sections in scrch1 and found:

v (:mp1, j) = v (:mp1, jcol) ! opt fails
v (1:mp1, j) = v (1:mp1, jcol) ! opt fails
v (:, j) ...
  Topic: AVX512 makes killing speed?
mecej4

Replies: 6
Views: 239

PostForum: General   Posted: Sun Nov 11, 2018 1:42 pm   Subject:
It is easy to draw incorrect conclusions from such benchmarks. In particular, did all the results come from PCs that were identical in all respects (including air temperature, fan speed, etc.) except ...
  Topic: No E format in Clearwin
mecej4

Replies: 39
Views: 5364

PostForum: Suggestions   Posted: Sat Nov 10, 2018 3:36 pm   Subject: Re:
mecej4,
I thought Lahey applied 80 bit precision to constants.There are a number of options to control (in a non-standard-conforming way, naturally) the interpretation of real constants in Fortran so ...
  Topic: Faulty code generated with /opt /64
mecej4

Replies: 8
Views: 268

PostForum: 64-bit   Posted: Sat Nov 10, 2018 3:08 pm   Subject:
Thank you!
  Topic: Faulty code generated with /opt /64
mecej4

Replies: 8
Views: 268

PostForum: 64-bit   Posted: Sat Nov 10, 2018 1:51 pm   Subject: Re:
Correction:

The temporary "fix" is to use /inhibit_opt 40.

It turns out that number 1 cuts out a whole raft of optimisations.
Thanks, Paul, that works!

Is the number specified afte ...
  Topic: UNION issue? Compiler issue?
mecej4

Replies: 5
Views: 168

PostForum: General   Posted: Sat Nov 10, 2018 4:24 am   Subject:
MAP...END MAP is something that I could not find a proper description of in the FTN95 documentation. I ended up consulting the Digital/Compaq Visual Fortran Language Reference Manual, http://jp.xlsoft ...
  Topic: UNION issue? Compiler issue?
mecej4

Replies: 5
Views: 168

PostForum: General   Posted: Sat Nov 10, 2018 2:17 am   Subject:
UNION is an (obsolete) non-standard extension to Fortran 77, and not needed in Fortran 95.

The following code runs, but I am not sure what you wanted to do.
program OBSOLETE
implicit non ...
  Topic: Severe slowdown with /64 /check for a certain program
mecej4

Replies: 18
Views: 852

PostForum: 64-bit   Posted: Thu Nov 08, 2018 5:38 pm   Subject:
Paul, I am uneasy about drawing conclusions from the timings alone. The test code does not have any of the bugs that /checkmate would have caught. Therefore, if the compiled code simply skipped doing ...
  Topic: Array expressions mishandled when /opt is used
mecej4

Replies: 14
Views: 462

PostForum: 64-bit   Posted: Thu Nov 08, 2018 3:51 pm   Subject:
Incidentally, Eddie, I was also brought up with "subexpression optimisation" in my blood. More recently, I have been weaning myself from that habit, because (i) it makes the code less readab ...
 
Page 1 of 68 Goto page 1, 2, 3 ... 66, 67, 68  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group