1.How is theinstruction set for a particular processor determined? ex(AVX)Do the mechanics/design of the processordictate the Instruction Setpossibilities or In Theory can I create a new instruction set for a given processor? Please Explain.
2. Does the compiler compile into these cpuinstructions or is there a language/code between compiled code and cpu instruction? Please Explain.
3. What language is best to write a compiler or is the compiler written from the AVX instruction set? Please Explain.
4. What language is best to write the Operating System (OS)? If the compiler does not take full control of AVX, I assume the OS will be limited. Assuming we use every instruction available in the AVX, I assume maximum potential for the OS. Are all langauges capable of writing an OS and or Compiler capable of maximum potential, if not which language gives most potential? Please Explain.
Answer to any of these questions will serve as answering my question. Thanks