[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::visualc

Title:Microsoft Visual C/C++
Moderator:PLUGH::needle
Created:Tue Mar 16 1993
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1121
Total number of notes:4385

1101.0. "Slow Port from Intel to Alpha" by NETRIX::"poiani@mail.dec.com" (Mike Poiani) Thu Mar 27 1997 17:38

I am looking for a porting guide that can help explain some of the issues in 
porting code from Alpha NT to Intel NT?

My Customer has recompiled their application from an Intel Vis C++ code base
to 
Alpha with Risc Vis C++. On an Intel Pentium Pro 200 the test ran in 20 
seconds. On the Alpha ev5 433 it ran in 2 minutes. They strapped on
performance 
monitor and they are seeing 600,000 alligment fixups per second. I am also 
worried that they are using floating point emulation and having problems in 
the FP area.

Any pointers or experience on how to fix this would be most helpful. Is there 
any porting guide with gottchas and know areas to examine, and of course hints
of solutions?

MP 

[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
1101.1DECWET::KOWALSKITime's not for savingThu Mar 27 1997 21:5511
There's alot of information in the documentation 
about how to detect misaligned data on Alpha during
debugging.  Reading the fine manuals would be where 
I'd start!  They probably have packed their structures
for some reason and that's causing the faults.

If the application already runs on Intel, there's 
really not too much to do beyond fixing up performance.
They will probably find some basic programming errors
by running on Alpha.  Uninitialized variables seem
to be a common error that turns up.
1101.2RISC Programmer's GuideDECWET::PETERSONFri Mar 28 1997 16:473
    The best documentation is the RISC Programmer's Guide, which is part of
    the online documentation in VC++ for RISC