I
Immortal Nephi
I wrote my own Fill_Memory function because I want to add SSE2 code
into it, but memset function does not have SSE2 code. Everything in
my function works very well.
I turned on the optimization of C++ Compiler. It mistakenly
automatically invoked memset function (or memset function is inserted
itself without my consult) as long as the bytes are between two and
four after Fill_Memory function is called and processed more than 128
bytes leaving two more bytes to be processed with memset function.
How can I tell C++ Compiler to disable inserting memset function and
allow Fill_Memory function to do the job itself?
into it, but memset function does not have SSE2 code. Everything in
my function works very well.
I turned on the optimization of C++ Compiler. It mistakenly
automatically invoked memset function (or memset function is inserted
itself without my consult) as long as the bytes are between two and
four after Fill_Memory function is called and processed more than 128
bytes leaving two more bytes to be processed with memset function.
How can I tell C++ Compiler to disable inserting memset function and
allow Fill_Memory function to do the job itself?