NO

Author Topic: Mea Culpa  (Read 238 times)

Offline HellOfMice

  • Member
  • *
  • Posts: 229
  • Never be pleased, always improve
Mea Culpa
« on: December 19, 2024, 02:03:48 PM »
I crashed with my last program due to bad analysis. I should have thought of the syntax used by Microsoft. I would certainly have done differently. Regardless, there are positive things.
The use of global variables in certain cases made it possible to minimize the number of registers used as well as to duplicate these global variables with other local ones.
I remake the program but using another way. I will not read RC files in input otherwise I'll have to write a compiler, and I can't do it.

I have the optimization manuals from AMD as well as those from Agner Frog.

I'm going to try to lower the number of cycles by having the ability to execute two instructions simultaneously.

I will also choose my instructions better. A question is weighing on my mind: Should we better use SSEx.x instructions which tend to heat up the processor for the benefit of increased speed?

In these times when we hear a lot about carbon footprint, this may not be a good solution because it increases the power consumption of the processor.

On the optimization side, we are not spoiled, apart from the debugger and the profiler there are not many tools to my knowledge.

I'm going to redo my program differently but it should be nicer in every way.
I'm not going to use dialog boxes but windows because I think that sometimes we need to have several windows displayed simultaneously.
I could make use of modeless dialogs but at the moment I'm not friends with dialogs.

As you can see, I have work to do. I will try to visit the forum from time to time because we have to keep it alive in memory of PO.

Have a nice day everyone, I'm going to watch the biathlon on TV.

Philippe RIO
--------------------------------
Kenavo