SPO600 Project : Stage 2
In this stage, I will examine the intermediate code output and propose a design for how the automatic ifunc capability could operate from a user's POV. Part 1: Experiment with the Proof-of-Concept In this part, I will be experimenting with the Proof-of-Concept Automatic ifunc tool and the intermediate Representation produced by the GCC compiler. Unpacking and building the code First, I obtained the autoifunc proof-of-concept code from the file path provided by our professor. I then unpacked the tar file into my own directory. I then build the code code using $make After building the code, function_ifunc.c is generated. Now, I will be comparing the output of function_ifunc.c and function.c Compiling function.c Compiling function_ifunc.c Identifying the resolver function This function determines which adjust_channels function will be used. Identifying the 2 copies of adjust_channels function This function uses SIMD instructions This function u...