Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MaxSpeedHighLevel in Visual Studio ???

Featured Replies

Posted

I use Visual Studio 2010 Enterprise!
In a Visual Studio project barswf_cpu.vcxproj I've saw this
<ClCompile>
      <Optimization>MaxSpeedHighLevel</Optimization>

Apparently this value is not valid,
https://docs.microsoft.com/en-us/cpp/build/reference/o-options-optimize-code?view=vs-2019

I've replaced that (MaxSpeedHighLevel) with:
    <ClCompile>
      <Optimization>MaxSpeed</Optimization>

Now compiles, the problem is that speed is of 45 MHashes/second instead of 60 MHashes/seconds (in already compiled exe by someone else) - so the speed is 25% slower.

Anyone know what is with MaxSpeedHighLevel ???
And more important how to improve speed?
 

  • Author

https://github.com/Microsoft/vcpkg/issues/3771
From that: " As I said in the original post, this is a value used by icc, the intel compiler."

So I have to install intel compiler which will allow /O3 optimizations!
 

  • Author

Intel C++ Compiler v11.xx supports Visual Studio 2008 and not latter VS like 2010
Intel Parallel Studio XE 2013 - Intel(R) C++ Composer XE 2013 SP1
includes Intel C++ Compiler and supports Visual Studio 2010.

You should include the lib folder (in Library Directories):
C:\Program Files\Intel\Composer XE 2013 SP1\compiler\lib\ia32
AND NOT
C:\Program Files\Intel\Compiler\11.1\067\lib\ia32

Anyway after compiling with /O3 optimizations the speed is slower then with Visual C++ /O2 optimizations!
 

  • Author

With Intel C++ Compiler the /O2 optimization is faster then /O3 optimization ! :blink::wacko:
What?
 

There are no guarantees O3 will be faster in all scenarios.

/Os perhaps?

Ted.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.