GCC option to select cpu type
My development target environment is intel corei5 architecture. I want to build my source for i5 architecture. I am paning to use gcc 4.5.1. In the gcc manual i found an option to select the cpu type(-mtune = cpu_type).There is no i5 processor in the cpu type options.
If i use -mtune=generic, will it produce optimized code for i5 architecture or it will produce the code for generic x86_64 architecture?