├── README.md ├── asm ├── clang │ ├── debug │ │ ├── 16to64O0.s │ │ ├── 16to64O1.s │ │ ├── 16to64O2.s │ │ ├── 16to64O3.s │ │ ├── 32to64O0.s │ │ ├── 32to64O1.s │ │ ├── 32to64O2.s │ │ ├── 32to64O3.s │ │ ├── 64O0.s │ │ ├── 64O1.s │ │ ├── 64O2.s │ │ ├── 64O3.s │ │ ├── 64_2O0.s │ │ ├── 64_2O1.s │ │ ├── 64_2O2.s │ │ ├── 64_2O3.s │ │ ├── 64to16O0.s │ │ ├── 64to16O1.s │ │ ├── 64to16O2.s │ │ ├── 64to16O3.s │ │ ├── 64to32O0.s │ │ ├── 64to32O1.s │ │ ├── 64to32O2.s │ │ ├── 64to32O3.s │ │ ├── 64to8O0.s │ │ ├── 64to8O1.s │ │ ├── 64to8O2.s │ │ ├── 64to8O3.s │ │ ├── 8to64O0.s │ │ ├── 8to64O1.s │ │ ├── 8to64O2.s │ │ ├── 8to64O3.s │ │ ├── emptyO0.s │ │ ├── emptyO1.s │ │ ├── emptyO2.s │ │ ├── emptyO3.s │ │ ├── forloopO0.s │ │ ├── forloopO1.s │ │ ├── forloopO2.s │ │ ├── forloopO3.s │ │ ├── fprintfO0.s │ │ ├── fprintfO1.s │ │ ├── fprintfO2.s │ │ ├── fprintfO3.s │ │ ├── ifO0.s │ │ ├── ifO1.s │ │ ├── ifO2.s │ │ ├── ifO3.s │ │ ├── if_simpleO0.s │ │ ├── if_simpleO1.s │ │ ├── if_simpleO2.s │ │ ├── if_simpleO3.s │ │ ├── matchrsO0.s │ │ ├── matchrsO1.s │ │ ├── matchrsO2.s │ │ ├── matchrsO3.s │ │ ├── matchstructO0.s │ │ ├── matchstructO1.s │ │ ├── matchstructO2.s │ │ ├── matchstructO3.s │ │ ├── memcpyO0.s │ │ ├── memcpyO1.s │ │ ├── memcpyO2.s │ │ ├── memcpyO3.s │ │ ├── nullptrO0.s │ │ ├── nullptrO1.s │ │ ├── nullptrO2.s │ │ ├── nullptrO3.s │ │ ├── perftest1_oneO0.s │ │ ├── perftest1_oneO1.s │ │ ├── perftest1_oneO2.s │ │ ├── perftest1_oneO3.s │ │ ├── perftest1_twoO0.s │ │ ├── perftest1_twoO1.s │ │ ├── perftest1_twoO2.s │ │ ├── perftest1_twoO3.s │ │ ├── perftest2_oneO0.s │ │ ├── perftest2_oneO1.s │ │ ├── perftest2_oneO2.s │ │ ├── perftest2_oneO3.s │ │ ├── perftest2_twoO0.s │ │ ├── perftest2_twoO1.s │ │ ├── perftest2_twoO2.s │ │ ├── perftest2_twoO3.s │ │ ├── perftest3_oneO0.s │ │ ├── perftest3_oneO1.s │ │ ├── perftest3_oneO2.s │ │ ├── perftest3_oneO3.s │ │ ├── perftest3_twoO0.s │ │ ├── perftest3_twoO1.s │ │ ├── perftest3_twoO2.s │ │ ├── perftest3_twoO3.s │ │ ├── pointerO0.s │ │ ├── pointerO1.s │ │ ├── pointerO2.s │ │ ├── pointerO3.s │ │ ├── pointer_reassignO0.s │ │ ├── pointer_reassignO1.s │ │ ├── pointer_reassignO2.s │ │ ├── pointer_reassignO3.s │ │ ├── printO0.s │ │ ├── printO1.s │ │ ├── printO2.s │ │ ├── printO3.s │ │ ├── printfO0.s │ │ ├── printfO1.s │ │ ├── printfO2.s │ │ ├── printfO3.s │ │ ├── switchO0.s │ │ ├── switchO1.s │ │ ├── switchO2.s │ │ ├── switchO3.s │ │ ├── switch_simpleO0.s │ │ ├── switch_simpleO1.s │ │ ├── switch_simpleO2.s │ │ ├── switch_simpleO3.s │ │ ├── unroll_not_testO0.s │ │ ├── unroll_not_testO1.s │ │ ├── unroll_not_testO2.s │ │ ├── unroll_not_testO3.s │ │ ├── unroll_simpleO0.s │ │ ├── unroll_simpleO1.s │ │ ├── unroll_simpleO2.s │ │ ├── unroll_simpleO3.s │ │ ├── unroll_simple_notO0.s │ │ ├── unroll_simple_notO1.s │ │ ├── unroll_simple_notO2.s │ │ ├── unroll_simple_notO3.s │ │ ├── unroll_testO0.s │ │ ├── unroll_testO1.s │ │ ├── unroll_testO2.s │ │ ├── unroll_testO3.s │ │ ├── xdpO0.s │ │ ├── xdpO1.s │ │ ├── xdpO2.s │ │ ├── xdpO3.s │ │ ├── xdp_adjust_headO0.s │ │ ├── xdp_adjust_headO1.s │ │ ├── xdp_adjust_headO2.s │ │ ├── xdp_adjust_headO3.s │ │ ├── xdp_adjust_tailO0.s │ │ ├── xdp_adjust_tailO1.s │ │ ├── xdp_adjust_tailO2.s │ │ ├── xdp_adjust_tailO3.s │ │ ├── xdp_block_port8080O0.s │ │ ├── xdp_block_port8080O1.s │ │ ├── xdp_block_port8080O2.s │ │ ├── xdp_block_port8080O3.s │ │ ├── xdp_cmp_builtinO0.s │ │ ├── xdp_cmp_builtinO1.s │ │ ├── xdp_cmp_builtinO2.s │ │ ├── xdp_cmp_builtinO3.s │ │ ├── xdp_cmp_loopO0.s │ │ ├── xdp_cmp_loopO1.s │ │ ├── xdp_cmp_loopO2.s │ │ ├── xdp_cmp_loopO3.s │ │ ├── xdp_custom_hdrO0.s │ │ ├── xdp_custom_hdrO1.s │ │ ├── xdp_custom_hdrO2.s │ │ ├── xdp_custom_hdrO3.s │ │ ├── xdp_drop_port8080O0.s │ │ ├── xdp_drop_port8080O1.s │ │ ├── xdp_drop_port8080O2.s │ │ ├── xdp_drop_port8080O3.s │ │ ├── xdp_redefineO0.s │ │ ├── xdp_redefineO1.s │ │ ├── xdp_redefineO2.s │ │ ├── xdp_redefineO3.s │ │ ├── xdp_simple_checkO0.s │ │ ├── xdp_simple_checkO1.s │ │ ├── xdp_simple_checkO2.s │ │ ├── xdp_simple_checkO3.s │ │ ├── xdp_simple_check_unlikelyO0.s │ │ ├── xdp_simple_check_unlikelyO1.s │ │ ├── xdp_simple_check_unlikelyO2.s │ │ ├── xdp_simple_check_unlikelyO3.s │ │ ├── xdp_simple_dropO0.s │ │ ├── xdp_simple_dropO1.s │ │ ├── xdp_simple_dropO2.s │ │ ├── xdp_simple_dropO3.s │ │ ├── xdp_simple_passO0.s │ │ ├── xdp_simple_passO1.s │ │ ├── xdp_simple_passO2.s │ │ └── xdp_simple_passO3.s │ └── main │ │ ├── 16to64O0.s │ │ ├── 16to64O1.s │ │ ├── 16to64O2.s │ │ ├── 16to64O3.s │ │ ├── 32to64O0.s │ │ ├── 32to64O1.s │ │ ├── 32to64O2.s │ │ ├── 32to64O3.s │ │ ├── 64O0.s │ │ ├── 64O1.s │ │ ├── 64O2.s │ │ ├── 64O3.s │ │ ├── 64_2O0.s │ │ ├── 64_2O1.s │ │ ├── 64_2O2.s │ │ ├── 64_2O3.s │ │ ├── 64to16O0.s │ │ ├── 64to16O1.s │ │ ├── 64to16O2.s │ │ ├── 64to16O3.s │ │ ├── 64to32O0.s │ │ ├── 64to32O1.s │ │ ├── 64to32O2.s │ │ ├── 64to32O3.s │ │ ├── 64to8O0.s │ │ ├── 64to8O1.s │ │ ├── 64to8O2.s │ │ ├── 64to8O3.s │ │ ├── 8to64O0.s │ │ ├── 8to64O1.s │ │ ├── 8to64O2.s │ │ ├── 8to64O3.s │ │ ├── emptyO0.s │ │ ├── emptyO1.s │ │ ├── emptyO2.s │ │ ├── emptyO3.s │ │ ├── forloopO0.s │ │ ├── forloopO1.s │ │ ├── forloopO2.s │ │ ├── forloopO3.s │ │ ├── fprintfO0.s │ │ ├── fprintfO1.s │ │ ├── fprintfO2.s │ │ ├── fprintfO3.s │ │ ├── ifO0.s │ │ ├── ifO1.s │ │ ├── ifO2.s │ │ ├── ifO3.s │ │ ├── if_simpleO0.s │ │ ├── if_simpleO1.s │ │ ├── if_simpleO2.s │ │ ├── if_simpleO3.s │ │ ├── matchrsO0.s │ │ ├── matchrsO1.s │ │ ├── matchrsO2.s │ │ ├── matchrsO3.s │ │ ├── matchstructO0.s │ │ ├── matchstructO1.s │ │ ├── matchstructO2.s │ │ ├── matchstructO3.s │ │ ├── memcpyO0.s │ │ ├── memcpyO1.s │ │ ├── memcpyO2.s │ │ ├── memcpyO3.s │ │ ├── nullptrO0.s │ │ ├── nullptrO1.s │ │ ├── nullptrO2.s │ │ ├── nullptrO3.s │ │ ├── perftest1_oneO0.s │ │ ├── perftest1_oneO1.s │ │ ├── perftest1_oneO2.s │ │ ├── perftest1_oneO3.s │ │ ├── perftest1_twoO0.s │ │ ├── perftest1_twoO1.s │ │ ├── perftest1_twoO2.s │ │ ├── perftest1_twoO3.s │ │ ├── perftest2_oneO0.s │ │ ├── perftest2_oneO1.s │ │ ├── perftest2_oneO2.s │ │ ├── perftest2_oneO3.s │ │ ├── perftest2_twoO0.s │ │ ├── perftest2_twoO1.s │ │ ├── perftest2_twoO2.s │ │ ├── perftest2_twoO3.s │ │ ├── perftest3_oneO0.s │ │ ├── perftest3_oneO1.s │ │ ├── perftest3_oneO2.s │ │ ├── perftest3_oneO3.s │ │ ├── perftest3_twoO0.s │ │ ├── perftest3_twoO1.s │ │ ├── perftest3_twoO2.s │ │ ├── perftest3_twoO3.s │ │ ├── pointerO0.s │ │ ├── pointerO1.s │ │ ├── pointerO2.s │ │ ├── pointerO3.s │ │ ├── pointer_reassignO0.s │ │ ├── pointer_reassignO1.s │ │ ├── pointer_reassignO2.s │ │ ├── pointer_reassignO3.s │ │ ├── printO0.s │ │ ├── printO1.s │ │ ├── printO2.s │ │ ├── printO3.s │ │ ├── printfO0.s │ │ ├── printfO1.s │ │ ├── printfO2.s │ │ ├── printfO3.s │ │ ├── switchO0.s │ │ ├── switchO1.s │ │ ├── switchO2.s │ │ ├── switchO3.s │ │ ├── switch_simpleO0.s │ │ ├── switch_simpleO1.s │ │ ├── switch_simpleO2.s │ │ ├── switch_simpleO3.s │ │ ├── unroll_not_testO0.s │ │ ├── unroll_not_testO1.s │ │ ├── unroll_not_testO2.s │ │ ├── unroll_not_testO3.s │ │ ├── unroll_simpleO0.s │ │ ├── unroll_simpleO1.s │ │ ├── unroll_simpleO2.s │ │ ├── unroll_simpleO3.s │ │ ├── unroll_simple_notO0.s │ │ ├── unroll_simple_notO1.s │ │ ├── unroll_simple_notO2.s │ │ ├── unroll_simple_notO3.s │ │ ├── unroll_testO0.s │ │ ├── unroll_testO1.s │ │ ├── unroll_testO2.s │ │ ├── unroll_testO3.s │ │ ├── xdpO0.s │ │ ├── xdpO1.s │ │ ├── xdpO2.s │ │ ├── xdpO3.s │ │ ├── xdp_adjust_headO0.s │ │ ├── xdp_adjust_headO1.s │ │ ├── xdp_adjust_headO2.s │ │ ├── xdp_adjust_headO3.s │ │ ├── xdp_adjust_tailO0.s │ │ ├── xdp_adjust_tailO1.s │ │ ├── xdp_adjust_tailO2.s │ │ ├── xdp_adjust_tailO3.s │ │ ├── xdp_block_port8080O0.s │ │ ├── xdp_block_port8080O1.s │ │ ├── xdp_block_port8080O2.s │ │ ├── xdp_block_port8080O3.s │ │ ├── xdp_cmp_builtinO0.s │ │ ├── xdp_cmp_builtinO1.s │ │ ├── xdp_cmp_builtinO2.s │ │ ├── xdp_cmp_builtinO3.s │ │ ├── xdp_cmp_loopO0.s │ │ ├── xdp_cmp_loopO1.s │ │ ├── xdp_cmp_loopO2.s │ │ ├── xdp_cmp_loopO3.s │ │ ├── xdp_custom_hdrO0.s │ │ ├── xdp_custom_hdrO1.s │ │ ├── xdp_custom_hdrO2.s │ │ ├── xdp_custom_hdrO3.s │ │ ├── xdp_drop_port8080O0.s │ │ ├── xdp_drop_port8080O1.s │ │ ├── xdp_drop_port8080O2.s │ │ ├── xdp_drop_port8080O3.s │ │ ├── xdp_redefineO0.s │ │ ├── xdp_redefineO1.s │ │ ├── xdp_redefineO2.s │ │ ├── xdp_redefineO3.s │ │ ├── xdp_simple_checkO0.s │ │ ├── xdp_simple_checkO1.s │ │ ├── xdp_simple_checkO2.s │ │ ├── xdp_simple_checkO3.s │ │ ├── xdp_simple_check_unlikelyO0.s │ │ ├── xdp_simple_check_unlikelyO1.s │ │ ├── xdp_simple_check_unlikelyO2.s │ │ ├── xdp_simple_check_unlikelyO3.s │ │ ├── xdp_simple_dropO0.s │ │ ├── xdp_simple_dropO1.s │ │ ├── xdp_simple_dropO2.s │ │ ├── xdp_simple_dropO3.s │ │ ├── xdp_simple_passO0.s │ │ ├── xdp_simple_passO1.s │ │ ├── xdp_simple_passO2.s │ │ └── xdp_simple_passO3.s ├── clangandllc │ ├── 16to64.ll │ ├── 16to64_debug.ll │ ├── 32to64.ll │ ├── 32to64_debug.ll │ ├── 64.ll │ ├── 64_2.ll │ ├── 64_2_debug.ll │ ├── 64_debug.ll │ ├── 64to16.ll │ ├── 64to16_debug.ll │ ├── 64to32.ll │ ├── 64to32_debug.ll │ ├── 64to8.ll │ ├── 64to8_debug.ll │ ├── 8to64.ll │ ├── 8to64_debug.ll │ ├── debug │ │ ├── 16to64O0.s │ │ ├── 16to64O0_intel.s │ │ ├── 16to64O1.s │ │ ├── 16to64O1_intel.s │ │ ├── 16to64O2.s │ │ ├── 16to64O2_intel.s │ │ ├── 16to64O3.s │ │ ├── 16to64O3_intel.s │ │ ├── 32to64O0.s │ │ ├── 32to64O0_intel.s │ │ ├── 32to64O1.s │ │ ├── 32to64O1_intel.s │ │ ├── 32to64O2.s │ │ ├── 32to64O2_intel.s │ │ ├── 32to64O3.s │ │ ├── 32to64O3_intel.s │ │ ├── 64O0.s │ │ ├── 64O0_intel.s │ │ ├── 64O1.s │ │ ├── 64O1_intel.s │ │ ├── 64O2.s │ │ ├── 64O2_intel.s │ │ ├── 64O3.s │ │ ├── 64O3_intel.s │ │ ├── 64_2O0.s │ │ ├── 64_2O0_intel.s │ │ ├── 64_2O1.s │ │ ├── 64_2O1_intel.s │ │ ├── 64_2O2.s │ │ ├── 64_2O2_intel.s │ │ ├── 64_2O3.s │ │ ├── 64_2O3_intel.s │ │ ├── 64to16O0.s │ │ ├── 64to16O0_intel.s │ │ ├── 64to16O1.s │ │ ├── 64to16O1_intel.s │ │ ├── 64to16O2.s │ │ ├── 64to16O2_intel.s │ │ ├── 64to16O3.s │ │ ├── 64to16O3_intel.s │ │ ├── 64to32O0.s │ │ ├── 64to32O0_intel.s │ │ ├── 64to32O1.s │ │ ├── 64to32O1_intel.s │ │ ├── 64to32O2.s │ │ ├── 64to32O2_intel.s │ │ ├── 64to32O3.s │ │ ├── 64to32O3_intel.s │ │ ├── 64to8O0.s │ │ ├── 64to8O0_intel.s │ │ ├── 64to8O1.s │ │ ├── 64to8O1_intel.s │ │ ├── 64to8O2.s │ │ ├── 64to8O2_intel.s │ │ ├── 64to8O3.s │ │ ├── 64to8O3_intel.s │ │ ├── 8to64O0.s │ │ ├── 8to64O0_intel.s │ │ ├── 8to64O1.s │ │ ├── 8to64O1_intel.s │ │ ├── 8to64O2.s │ │ ├── 8to64O2_intel.s │ │ ├── 8to64O3.s │ │ ├── 8to64O3_intel.s │ │ ├── emptyO0.s │ │ ├── emptyO0_intel.s │ │ ├── emptyO1.s │ │ ├── emptyO1_intel.s │ │ ├── emptyO2.s │ │ ├── emptyO2_intel.s │ │ ├── emptyO3.s │ │ ├── emptyO3_intel.s │ │ ├── forloopO0.s │ │ ├── forloopO0_intel.s │ │ ├── forloopO1.s │ │ ├── forloopO1_intel.s │ │ ├── forloopO2.s │ │ ├── forloopO2_intel.s │ │ ├── forloopO3.s │ │ ├── forloopO3_intel.s │ │ ├── fprintfO0.s │ │ ├── fprintfO0_intel.s │ │ ├── fprintfO1.s │ │ ├── fprintfO1_intel.s │ │ ├── fprintfO2.s │ │ ├── fprintfO2_intel.s │ │ ├── fprintfO3.s │ │ ├── fprintfO3_intel.s │ │ ├── ifO0.s │ │ ├── ifO0_intel.s │ │ ├── ifO1.s │ │ ├── ifO1_intel.s │ │ ├── ifO2.s │ │ ├── ifO2_intel.s │ │ ├── ifO3.s │ │ ├── ifO3_intel.s │ │ ├── if_simpleO0.s │ │ ├── if_simpleO0_intel.s │ │ ├── if_simpleO1.s │ │ ├── if_simpleO1_intel.s │ │ ├── if_simpleO2.s │ │ ├── if_simpleO2_intel.s │ │ ├── if_simpleO3.s │ │ ├── if_simpleO3_intel.s │ │ ├── matchrsO0.s │ │ ├── matchrsO0_intel.s │ │ ├── matchrsO1.s │ │ ├── matchrsO1_intel.s │ │ ├── matchrsO2.s │ │ ├── matchrsO2_intel.s │ │ ├── matchrsO3.s │ │ ├── matchrsO3_intel.s │ │ ├── matchstructO0.s │ │ ├── matchstructO0_intel.s │ │ ├── matchstructO1.s │ │ ├── matchstructO1_intel.s │ │ ├── matchstructO2.s │ │ ├── matchstructO2_intel.s │ │ ├── matchstructO3.s │ │ ├── matchstructO3_intel.s │ │ ├── memcpyO0.s │ │ ├── memcpyO0_intel.s │ │ ├── memcpyO1.s │ │ ├── memcpyO1_intel.s │ │ ├── memcpyO2.s │ │ ├── memcpyO2_intel.s │ │ ├── memcpyO3.s │ │ ├── memcpyO3_intel.s │ │ ├── nullptrO0.s │ │ ├── nullptrO0_intel.s │ │ ├── nullptrO1.s │ │ ├── nullptrO1_intel.s │ │ ├── nullptrO2.s │ │ ├── nullptrO2_intel.s │ │ ├── nullptrO3.s │ │ ├── nullptrO3_intel.s │ │ ├── perftest1_oneO0.s │ │ ├── perftest1_oneO0_intel.s │ │ ├── perftest1_oneO1.s │ │ ├── perftest1_oneO1_intel.s │ │ ├── perftest1_oneO2.s │ │ ├── perftest1_oneO2_intel.s │ │ ├── perftest1_oneO3.s │ │ ├── perftest1_oneO3_intel.s │ │ ├── perftest1_twoO0.s │ │ ├── perftest1_twoO0_intel.s │ │ ├── perftest1_twoO1.s │ │ ├── perftest1_twoO1_intel.s │ │ ├── perftest1_twoO2.s │ │ ├── perftest1_twoO2_intel.s │ │ ├── perftest1_twoO3.s │ │ ├── perftest1_twoO3_intel.s │ │ ├── perftest2_oneO0.s │ │ ├── perftest2_oneO0_intel.s │ │ ├── perftest2_oneO1.s │ │ ├── perftest2_oneO1_intel.s │ │ ├── perftest2_oneO2.s │ │ ├── perftest2_oneO2_intel.s │ │ ├── perftest2_oneO3.s │ │ ├── perftest2_oneO3_intel.s │ │ ├── perftest2_twoO0.s │ │ ├── perftest2_twoO0_intel.s │ │ ├── perftest2_twoO1.s │ │ ├── perftest2_twoO1_intel.s │ │ ├── perftest2_twoO2.s │ │ ├── perftest2_twoO2_intel.s │ │ ├── perftest2_twoO3.s │ │ ├── perftest2_twoO3_intel.s │ │ ├── perftest3_oneO0.s │ │ ├── perftest3_oneO0_intel.s │ │ ├── perftest3_oneO1.s │ │ ├── perftest3_oneO1_intel.s │ │ ├── perftest3_oneO2.s │ │ ├── perftest3_oneO2_intel.s │ │ ├── perftest3_oneO3.s │ │ ├── perftest3_oneO3_intel.s │ │ ├── perftest3_twoO0.s │ │ ├── perftest3_twoO0_intel.s │ │ ├── perftest3_twoO1.s │ │ ├── perftest3_twoO1_intel.s │ │ ├── perftest3_twoO2.s │ │ ├── perftest3_twoO2_intel.s │ │ ├── perftest3_twoO3.s │ │ ├── perftest3_twoO3_intel.s │ │ ├── pointerO0.s │ │ ├── pointerO0_intel.s │ │ ├── pointerO1.s │ │ ├── pointerO1_intel.s │ │ ├── pointerO2.s │ │ ├── pointerO2_intel.s │ │ ├── pointerO3.s │ │ ├── pointerO3_intel.s │ │ ├── pointer_reassignO0.s │ │ ├── pointer_reassignO0_intel.s │ │ ├── pointer_reassignO1.s │ │ ├── pointer_reassignO1_intel.s │ │ ├── pointer_reassignO2.s │ │ ├── pointer_reassignO2_intel.s │ │ ├── pointer_reassignO3.s │ │ ├── pointer_reassignO3_intel.s │ │ ├── printO0.s │ │ ├── printO0_intel.s │ │ ├── printO1.s │ │ ├── printO1_intel.s │ │ ├── printO2.s │ │ ├── printO2_intel.s │ │ ├── printO3.s │ │ ├── printO3_intel.s │ │ ├── printfO0.s │ │ ├── printfO0_intel.s │ │ ├── printfO1.s │ │ ├── printfO1_intel.s │ │ ├── printfO2.s │ │ ├── printfO2_intel.s │ │ ├── printfO3.s │ │ ├── printfO3_intel.s │ │ ├── switchO0.s │ │ ├── switchO0_intel.s │ │ ├── switchO1.s │ │ ├── switchO1_intel.s │ │ ├── switchO2.s │ │ ├── switchO2_intel.s │ │ ├── switchO3.s │ │ ├── switchO3_intel.s │ │ ├── switch_simpleO0.s │ │ ├── switch_simpleO0_intel.s │ │ ├── switch_simpleO1.s │ │ ├── switch_simpleO1_intel.s │ │ ├── switch_simpleO2.s │ │ ├── switch_simpleO2_intel.s │ │ ├── switch_simpleO3.s │ │ ├── switch_simpleO3_intel.s │ │ ├── unroll_not_testO0.s │ │ ├── unroll_not_testO0_intel.s │ │ ├── unroll_not_testO1.s │ │ ├── unroll_not_testO1_intel.s │ │ ├── unroll_not_testO2.s │ │ ├── unroll_not_testO2_intel.s │ │ ├── unroll_not_testO3.s │ │ ├── unroll_not_testO3_intel.s │ │ ├── unroll_simpleO0.s │ │ ├── unroll_simpleO0_intel.s │ │ ├── unroll_simpleO1.s │ │ ├── unroll_simpleO1_intel.s │ │ ├── unroll_simpleO2.s │ │ ├── unroll_simpleO2_intel.s │ │ ├── unroll_simpleO3.s │ │ ├── unroll_simpleO3_intel.s │ │ ├── unroll_simple_notO0.s │ │ ├── unroll_simple_notO0_intel.s │ │ ├── unroll_simple_notO1.s │ │ ├── unroll_simple_notO1_intel.s │ │ ├── unroll_simple_notO2.s │ │ ├── unroll_simple_notO2_intel.s │ │ ├── unroll_simple_notO3.s │ │ ├── unroll_simple_notO3_intel.s │ │ ├── unroll_testO0.s │ │ ├── unroll_testO0_intel.s │ │ ├── unroll_testO1.s │ │ ├── unroll_testO1_intel.s │ │ ├── unroll_testO2.s │ │ ├── unroll_testO2_intel.s │ │ ├── unroll_testO3.s │ │ ├── unroll_testO3_intel.s │ │ ├── xdpO0.s │ │ ├── xdpO0_intel.s │ │ ├── xdpO1.s │ │ ├── xdpO1_intel.s │ │ ├── xdpO2.s │ │ ├── xdpO2_intel.s │ │ ├── xdpO3.s │ │ ├── xdpO3_intel.s │ │ ├── xdp_adjust_headO0.s │ │ ├── xdp_adjust_headO0_intel.s │ │ ├── xdp_adjust_headO1.s │ │ ├── xdp_adjust_headO1_intel.s │ │ ├── xdp_adjust_headO2.s │ │ ├── xdp_adjust_headO2_intel.s │ │ ├── xdp_adjust_headO3.s │ │ ├── xdp_adjust_headO3_intel.s │ │ ├── xdp_adjust_tailO0.s │ │ ├── xdp_adjust_tailO0_intel.s │ │ ├── xdp_adjust_tailO1.s │ │ ├── xdp_adjust_tailO1_intel.s │ │ ├── xdp_adjust_tailO2.s │ │ ├── xdp_adjust_tailO2_intel.s │ │ ├── xdp_adjust_tailO3.s │ │ ├── xdp_adjust_tailO3_intel.s │ │ ├── xdp_block_port8080O0.s │ │ ├── xdp_block_port8080O0_intel.s │ │ ├── xdp_block_port8080O1.s │ │ ├── xdp_block_port8080O1_intel.s │ │ ├── xdp_block_port8080O2.s │ │ ├── xdp_block_port8080O2_intel.s │ │ ├── xdp_block_port8080O3.s │ │ ├── xdp_block_port8080O3_intel.s │ │ ├── xdp_cmp_builtinO0.s │ │ ├── xdp_cmp_builtinO0_intel.s │ │ ├── xdp_cmp_builtinO1.s │ │ ├── xdp_cmp_builtinO1_intel.s │ │ ├── xdp_cmp_builtinO2.s │ │ ├── xdp_cmp_builtinO2_intel.s │ │ ├── xdp_cmp_builtinO3.s │ │ ├── xdp_cmp_builtinO3_intel.s │ │ ├── xdp_cmp_loopO0.s │ │ ├── xdp_cmp_loopO0_intel.s │ │ ├── xdp_cmp_loopO1.s │ │ ├── xdp_cmp_loopO1_intel.s │ │ ├── xdp_cmp_loopO2.s │ │ ├── xdp_cmp_loopO2_intel.s │ │ ├── xdp_cmp_loopO3.s │ │ ├── xdp_cmp_loopO3_intel.s │ │ ├── xdp_custom_hdrO0.s │ │ ├── xdp_custom_hdrO0_intel.s │ │ ├── xdp_custom_hdrO1.s │ │ ├── xdp_custom_hdrO1_intel.s │ │ ├── xdp_custom_hdrO2.s │ │ ├── xdp_custom_hdrO2_intel.s │ │ ├── xdp_custom_hdrO3.s │ │ ├── xdp_custom_hdrO3_intel.s │ │ ├── xdp_drop_port8080O0.s │ │ ├── xdp_drop_port8080O0_intel.s │ │ ├── xdp_drop_port8080O1.s │ │ ├── xdp_drop_port8080O1_intel.s │ │ ├── xdp_drop_port8080O2.s │ │ ├── xdp_drop_port8080O2_intel.s │ │ ├── xdp_drop_port8080O3.s │ │ ├── xdp_drop_port8080O3_intel.s │ │ ├── xdp_redefineO0.s │ │ ├── xdp_redefineO0_intel.s │ │ ├── xdp_redefineO1.s │ │ ├── xdp_redefineO1_intel.s │ │ ├── xdp_redefineO2.s │ │ ├── xdp_redefineO2_intel.s │ │ ├── xdp_redefineO3.s │ │ ├── xdp_redefineO3_intel.s │ │ ├── xdp_simple_checkO0.s │ │ ├── xdp_simple_checkO0_intel.s │ │ ├── xdp_simple_checkO1.s │ │ ├── xdp_simple_checkO1_intel.s │ │ ├── xdp_simple_checkO2.s │ │ ├── xdp_simple_checkO2_intel.s │ │ ├── xdp_simple_checkO3.s │ │ ├── xdp_simple_checkO3_intel.s │ │ ├── xdp_simple_check_unlikelyO0.s │ │ ├── xdp_simple_check_unlikelyO0_intel.s │ │ ├── xdp_simple_check_unlikelyO1.s │ │ ├── xdp_simple_check_unlikelyO1_intel.s │ │ ├── xdp_simple_check_unlikelyO2.s │ │ ├── xdp_simple_check_unlikelyO2_intel.s │ │ ├── xdp_simple_check_unlikelyO3.s │ │ ├── xdp_simple_check_unlikelyO3_intel.s │ │ ├── xdp_simple_dropO0.s │ │ ├── xdp_simple_dropO0_intel.s │ │ ├── xdp_simple_dropO1.s │ │ ├── xdp_simple_dropO1_intel.s │ │ ├── xdp_simple_dropO2.s │ │ ├── xdp_simple_dropO2_intel.s │ │ ├── xdp_simple_dropO3.s │ │ ├── xdp_simple_dropO3_intel.s │ │ ├── xdp_simple_passO0.s │ │ ├── xdp_simple_passO0_intel.s │ │ ├── xdp_simple_passO1.s │ │ ├── xdp_simple_passO1_intel.s │ │ ├── xdp_simple_passO2.s │ │ ├── xdp_simple_passO2_intel.s │ │ ├── xdp_simple_passO3.s │ │ └── xdp_simple_passO3_intel.s │ ├── empty.ll │ ├── empty_debug.ll │ ├── forloop.ll │ ├── forloop_debug.ll │ ├── fprintf.ll │ ├── fprintf_debug.ll │ ├── if.ll │ ├── if_debug.ll │ ├── if_simple.ll │ ├── if_simple_debug.ll │ ├── main │ │ ├── 16to64O0.s │ │ ├── 16to64O0_intel.s │ │ ├── 16to64O1.s │ │ ├── 16to64O1_intel.s │ │ ├── 16to64O2.s │ │ ├── 16to64O2_intel.s │ │ ├── 16to64O3.s │ │ ├── 16to64O3_intel.s │ │ ├── 32to64O0.s │ │ ├── 32to64O0_intel.s │ │ ├── 32to64O1.s │ │ ├── 32to64O1_intel.s │ │ ├── 32to64O2.s │ │ ├── 32to64O2_intel.s │ │ ├── 32to64O3.s │ │ ├── 32to64O3_intel.s │ │ ├── 64O0.s │ │ ├── 64O0_intel.s │ │ ├── 64O1.s │ │ ├── 64O1_intel.s │ │ ├── 64O2.s │ │ ├── 64O2_intel.s │ │ ├── 64O3.s │ │ ├── 64O3_intel.s │ │ ├── 64_2O0.s │ │ ├── 64_2O0_intel.s │ │ ├── 64_2O1.s │ │ ├── 64_2O1_intel.s │ │ ├── 64_2O2.s │ │ ├── 64_2O2_intel.s │ │ ├── 64_2O3.s │ │ ├── 64_2O3_intel.s │ │ ├── 64to16O0.s │ │ ├── 64to16O0_intel.s │ │ ├── 64to16O1.s │ │ ├── 64to16O1_intel.s │ │ ├── 64to16O2.s │ │ ├── 64to16O2_intel.s │ │ ├── 64to16O3.s │ │ ├── 64to16O3_intel.s │ │ ├── 64to32O0.s │ │ ├── 64to32O0_intel.s │ │ ├── 64to32O1.s │ │ ├── 64to32O1_intel.s │ │ ├── 64to32O2.s │ │ ├── 64to32O2_intel.s │ │ ├── 64to32O3.s │ │ ├── 64to32O3_intel.s │ │ ├── 64to8O0.s │ │ ├── 64to8O0_intel.s │ │ ├── 64to8O1.s │ │ ├── 64to8O1_intel.s │ │ ├── 64to8O2.s │ │ ├── 64to8O2_intel.s │ │ ├── 64to8O3.s │ │ ├── 64to8O3_intel.s │ │ ├── 8to64O0.s │ │ ├── 8to64O0_intel.s │ │ ├── 8to64O1.s │ │ ├── 8to64O1_intel.s │ │ ├── 8to64O2.s │ │ ├── 8to64O2_intel.s │ │ ├── 8to64O3.s │ │ ├── 8to64O3_intel.s │ │ ├── emptyO0.s │ │ ├── emptyO0_intel.s │ │ ├── emptyO1.s │ │ ├── emptyO1_intel.s │ │ ├── emptyO2.s │ │ ├── emptyO2_intel.s │ │ ├── emptyO3.s │ │ ├── emptyO3_intel.s │ │ ├── forloopO0.s │ │ ├── forloopO0_intel.s │ │ ├── forloopO1.s │ │ ├── forloopO1_intel.s │ │ ├── forloopO2.s │ │ ├── forloopO2_intel.s │ │ ├── forloopO3.s │ │ ├── forloopO3_intel.s │ │ ├── fprintfO0.s │ │ ├── fprintfO0_intel.s │ │ ├── fprintfO1.s │ │ ├── fprintfO1_intel.s │ │ ├── fprintfO2.s │ │ ├── fprintfO2_intel.s │ │ ├── fprintfO3.s │ │ ├── fprintfO3_intel.s │ │ ├── ifO0.s │ │ ├── ifO0_intel.s │ │ ├── ifO1.s │ │ ├── ifO1_intel.s │ │ ├── ifO2.s │ │ ├── ifO2_intel.s │ │ ├── ifO3.s │ │ ├── ifO3_intel.s │ │ ├── if_simpleO0.s │ │ ├── if_simpleO0_intel.s │ │ ├── if_simpleO1.s │ │ ├── if_simpleO1_intel.s │ │ ├── if_simpleO2.s │ │ ├── if_simpleO2_intel.s │ │ ├── if_simpleO3.s │ │ ├── if_simpleO3_intel.s │ │ ├── matchrsO0.s │ │ ├── matchrsO0_intel.s │ │ ├── matchrsO1.s │ │ ├── matchrsO1_intel.s │ │ ├── matchrsO2.s │ │ ├── matchrsO2_intel.s │ │ ├── matchrsO3.s │ │ ├── matchrsO3_intel.s │ │ ├── matchstructO0.s │ │ ├── matchstructO0_intel.s │ │ ├── matchstructO1.s │ │ ├── matchstructO1_intel.s │ │ ├── matchstructO2.s │ │ ├── matchstructO2_intel.s │ │ ├── matchstructO3.s │ │ ├── matchstructO3_intel.s │ │ ├── memcpyO0.s │ │ ├── memcpyO0_intel.s │ │ ├── memcpyO1.s │ │ ├── memcpyO1_intel.s │ │ ├── memcpyO2.s │ │ ├── memcpyO2_intel.s │ │ ├── memcpyO3.s │ │ ├── memcpyO3_intel.s │ │ ├── nullptrO0.s │ │ ├── nullptrO0_intel.s │ │ ├── nullptrO1.s │ │ ├── nullptrO1_intel.s │ │ ├── nullptrO2.s │ │ ├── nullptrO2_intel.s │ │ ├── nullptrO3.s │ │ ├── nullptrO3_intel.s │ │ ├── perftest1_oneO0.s │ │ ├── perftest1_oneO0_intel.s │ │ ├── perftest1_oneO1.s │ │ ├── perftest1_oneO1_intel.s │ │ ├── perftest1_oneO2.s │ │ ├── perftest1_oneO2_intel.s │ │ ├── perftest1_oneO3.s │ │ ├── perftest1_oneO3_intel.s │ │ ├── perftest1_twoO0.s │ │ ├── perftest1_twoO0_intel.s │ │ ├── perftest1_twoO1.s │ │ ├── perftest1_twoO1_intel.s │ │ ├── perftest1_twoO2.s │ │ ├── perftest1_twoO2_intel.s │ │ ├── perftest1_twoO3.s │ │ ├── perftest1_twoO3_intel.s │ │ ├── perftest2_oneO0.s │ │ ├── perftest2_oneO0_intel.s │ │ ├── perftest2_oneO1.s │ │ ├── perftest2_oneO1_intel.s │ │ ├── perftest2_oneO2.s │ │ ├── perftest2_oneO2_intel.s │ │ ├── perftest2_oneO3.s │ │ ├── perftest2_oneO3_intel.s │ │ ├── perftest2_twoO0.s │ │ ├── perftest2_twoO0_intel.s │ │ ├── perftest2_twoO1.s │ │ ├── perftest2_twoO1_intel.s │ │ ├── perftest2_twoO2.s │ │ ├── perftest2_twoO2_intel.s │ │ ├── perftest2_twoO3.s │ │ ├── perftest2_twoO3_intel.s │ │ ├── perftest3_oneO0.s │ │ ├── perftest3_oneO0_intel.s │ │ ├── perftest3_oneO1.s │ │ ├── perftest3_oneO1_intel.s │ │ ├── perftest3_oneO2.s │ │ ├── perftest3_oneO2_intel.s │ │ ├── perftest3_oneO3.s │ │ ├── perftest3_oneO3_intel.s │ │ ├── perftest3_twoO0.s │ │ ├── perftest3_twoO0_intel.s │ │ ├── perftest3_twoO1.s │ │ ├── perftest3_twoO1_intel.s │ │ ├── perftest3_twoO2.s │ │ ├── perftest3_twoO2_intel.s │ │ ├── perftest3_twoO3.s │ │ ├── perftest3_twoO3_intel.s │ │ ├── pointerO0.s │ │ ├── pointerO0_intel.s │ │ ├── pointerO1.s │ │ ├── pointerO1_intel.s │ │ ├── pointerO2.s │ │ ├── pointerO2_intel.s │ │ ├── pointerO3.s │ │ ├── pointerO3_intel.s │ │ ├── pointer_reassignO0.s │ │ ├── pointer_reassignO0_intel.s │ │ ├── pointer_reassignO1.s │ │ ├── pointer_reassignO1_intel.s │ │ ├── pointer_reassignO2.s │ │ ├── pointer_reassignO2_intel.s │ │ ├── pointer_reassignO3.s │ │ ├── pointer_reassignO3_intel.s │ │ ├── printO0.s │ │ ├── printO0_intel.s │ │ ├── printO1.s │ │ ├── printO1_intel.s │ │ ├── printO2.s │ │ ├── printO2_intel.s │ │ ├── printO3.s │ │ ├── printO3_intel.s │ │ ├── printfO0.s │ │ ├── printfO0_intel.s │ │ ├── printfO1.s │ │ ├── printfO1_intel.s │ │ ├── printfO2.s │ │ ├── printfO2_intel.s │ │ ├── printfO3.s │ │ ├── printfO3_intel.s │ │ ├── switchO0.s │ │ ├── switchO0_intel.s │ │ ├── switchO1.s │ │ ├── switchO1_intel.s │ │ ├── switchO2.s │ │ ├── switchO2_intel.s │ │ ├── switchO3.s │ │ ├── switchO3_intel.s │ │ ├── switch_simpleO0.s │ │ ├── switch_simpleO0_intel.s │ │ ├── switch_simpleO1.s │ │ ├── switch_simpleO1_intel.s │ │ ├── switch_simpleO2.s │ │ ├── switch_simpleO2_intel.s │ │ ├── switch_simpleO3.s │ │ ├── switch_simpleO3_intel.s │ │ ├── unroll_not_testO0.s │ │ ├── unroll_not_testO0_intel.s │ │ ├── unroll_not_testO1.s │ │ ├── unroll_not_testO1_intel.s │ │ ├── unroll_not_testO2.s │ │ ├── unroll_not_testO2_intel.s │ │ ├── unroll_not_testO3.s │ │ ├── unroll_not_testO3_intel.s │ │ ├── unroll_simpleO0.s │ │ ├── unroll_simpleO0_intel.s │ │ ├── unroll_simpleO1.s │ │ ├── unroll_simpleO1_intel.s │ │ ├── unroll_simpleO2.s │ │ ├── unroll_simpleO2_intel.s │ │ ├── unroll_simpleO3.s │ │ ├── unroll_simpleO3_intel.s │ │ ├── unroll_simple_notO0.s │ │ ├── unroll_simple_notO0_intel.s │ │ ├── unroll_simple_notO1.s │ │ ├── unroll_simple_notO1_intel.s │ │ ├── unroll_simple_notO2.s │ │ ├── unroll_simple_notO2_intel.s │ │ ├── unroll_simple_notO3.s │ │ ├── unroll_simple_notO3_intel.s │ │ ├── unroll_testO0.s │ │ ├── unroll_testO0_intel.s │ │ ├── unroll_testO1.s │ │ ├── unroll_testO1_intel.s │ │ ├── unroll_testO2.s │ │ ├── unroll_testO2_intel.s │ │ ├── unroll_testO3.s │ │ ├── unroll_testO3_intel.s │ │ ├── xdpO0.s │ │ ├── xdpO0_intel.s │ │ ├── xdpO1.s │ │ ├── xdpO1_intel.s │ │ ├── xdpO2.s │ │ ├── xdpO2_intel.s │ │ ├── xdpO3.s │ │ ├── xdpO3_intel.s │ │ ├── xdp_adjust_headO0.s │ │ ├── xdp_adjust_headO0_intel.s │ │ ├── xdp_adjust_headO1.s │ │ ├── xdp_adjust_headO1_intel.s │ │ ├── xdp_adjust_headO2.s │ │ ├── xdp_adjust_headO2_intel.s │ │ ├── xdp_adjust_headO3.s │ │ ├── xdp_adjust_headO3_intel.s │ │ ├── xdp_adjust_tailO0.s │ │ ├── xdp_adjust_tailO0_intel.s │ │ ├── xdp_adjust_tailO1.s │ │ ├── xdp_adjust_tailO1_intel.s │ │ ├── xdp_adjust_tailO2.s │ │ ├── xdp_adjust_tailO2_intel.s │ │ ├── xdp_adjust_tailO3.s │ │ ├── xdp_adjust_tailO3_intel.s │ │ ├── xdp_block_port8080O0.s │ │ ├── xdp_block_port8080O0_intel.s │ │ ├── xdp_block_port8080O1.s │ │ ├── xdp_block_port8080O1_intel.s │ │ ├── xdp_block_port8080O2.s │ │ ├── xdp_block_port8080O2_intel.s │ │ ├── xdp_block_port8080O3.s │ │ ├── xdp_block_port8080O3_intel.s │ │ ├── xdp_cmp_builtinO0.s │ │ ├── xdp_cmp_builtinO0_intel.s │ │ ├── xdp_cmp_builtinO1.s │ │ ├── xdp_cmp_builtinO1_intel.s │ │ ├── xdp_cmp_builtinO2.s │ │ ├── xdp_cmp_builtinO2_intel.s │ │ ├── xdp_cmp_builtinO3.s │ │ ├── xdp_cmp_builtinO3_intel.s │ │ ├── xdp_cmp_loopO0.s │ │ ├── xdp_cmp_loopO0_intel.s │ │ ├── xdp_cmp_loopO1.s │ │ ├── xdp_cmp_loopO1_intel.s │ │ ├── xdp_cmp_loopO2.s │ │ ├── xdp_cmp_loopO2_intel.s │ │ ├── xdp_cmp_loopO3.s │ │ ├── xdp_cmp_loopO3_intel.s │ │ ├── xdp_custom_hdrO0.s │ │ ├── xdp_custom_hdrO0_intel.s │ │ ├── xdp_custom_hdrO1.s │ │ ├── xdp_custom_hdrO1_intel.s │ │ ├── xdp_custom_hdrO2.s │ │ ├── xdp_custom_hdrO2_intel.s │ │ ├── xdp_custom_hdrO3.s │ │ ├── xdp_custom_hdrO3_intel.s │ │ ├── xdp_drop_port8080O0.s │ │ ├── xdp_drop_port8080O0_intel.s │ │ ├── xdp_drop_port8080O1.s │ │ ├── xdp_drop_port8080O1_intel.s │ │ ├── xdp_drop_port8080O2.s │ │ ├── xdp_drop_port8080O2_intel.s │ │ ├── xdp_drop_port8080O3.s │ │ ├── xdp_drop_port8080O3_intel.s │ │ ├── xdp_redefineO0.s │ │ ├── xdp_redefineO0_intel.s │ │ ├── xdp_redefineO1.s │ │ ├── xdp_redefineO1_intel.s │ │ ├── xdp_redefineO2.s │ │ ├── xdp_redefineO2_intel.s │ │ ├── xdp_redefineO3.s │ │ ├── xdp_redefineO3_intel.s │ │ ├── xdp_simple_checkO0.s │ │ ├── xdp_simple_checkO0_intel.s │ │ ├── xdp_simple_checkO1.s │ │ ├── xdp_simple_checkO1_intel.s │ │ ├── xdp_simple_checkO2.s │ │ ├── xdp_simple_checkO2_intel.s │ │ ├── xdp_simple_checkO3.s │ │ ├── xdp_simple_checkO3_intel.s │ │ ├── xdp_simple_check_unlikelyO0.s │ │ ├── xdp_simple_check_unlikelyO0_intel.s │ │ ├── xdp_simple_check_unlikelyO1.s │ │ ├── xdp_simple_check_unlikelyO1_intel.s │ │ ├── xdp_simple_check_unlikelyO2.s │ │ ├── xdp_simple_check_unlikelyO2_intel.s │ │ ├── xdp_simple_check_unlikelyO3.s │ │ ├── xdp_simple_check_unlikelyO3_intel.s │ │ ├── xdp_simple_dropO0.s │ │ ├── xdp_simple_dropO0_intel.s │ │ ├── xdp_simple_dropO1.s │ │ ├── xdp_simple_dropO1_intel.s │ │ ├── xdp_simple_dropO2.s │ │ ├── xdp_simple_dropO2_intel.s │ │ ├── xdp_simple_dropO3.s │ │ ├── xdp_simple_dropO3_intel.s │ │ ├── xdp_simple_passO0.s │ │ ├── xdp_simple_passO0_intel.s │ │ ├── xdp_simple_passO1.s │ │ ├── xdp_simple_passO1_intel.s │ │ ├── xdp_simple_passO2.s │ │ ├── xdp_simple_passO2_intel.s │ │ ├── xdp_simple_passO3.s │ │ └── xdp_simple_passO3_intel.s │ ├── matchrs.ll │ ├── matchrs_debug.ll │ ├── matchstruct.ll │ ├── matchstruct_debug.ll │ ├── memcpy.ll │ ├── memcpy_debug.ll │ ├── nullptr.ll │ ├── nullptr_debug.ll │ ├── perftest1_one.ll │ ├── perftest1_one_debug.ll │ ├── perftest1_two.ll │ ├── perftest1_two_debug.ll │ ├── perftest2_one.ll │ ├── perftest2_one_debug.ll │ ├── perftest2_two.ll │ ├── perftest2_two_debug.ll │ ├── perftest3_one.ll │ ├── perftest3_one_debug.ll │ ├── perftest3_two.ll │ ├── perftest3_two_debug.ll │ ├── pointer.ll │ ├── pointer_debug.ll │ ├── pointer_reassign.ll │ ├── pointer_reassign_debug.ll │ ├── print.ll │ ├── print_debug.ll │ ├── printf.ll │ ├── printf_debug.ll │ ├── switch.ll │ ├── switch_debug.ll │ ├── switch_simple.ll │ ├── switch_simple_debug.ll │ ├── unroll_not_test.ll │ ├── unroll_not_test_debug.ll │ ├── unroll_simple.ll │ ├── unroll_simple_debug.ll │ ├── unroll_simple_not.ll │ ├── unroll_simple_not_debug.ll │ ├── unroll_test.ll │ ├── unroll_test_debug.ll │ ├── xdp.ll │ ├── xdp_adjust_head.ll │ ├── xdp_adjust_head_debug.ll │ ├── xdp_adjust_tail.ll │ ├── xdp_adjust_tail_debug.ll │ ├── xdp_block_port8080.ll │ ├── xdp_block_port8080_debug.ll │ ├── xdp_cmp_builtin.ll │ ├── xdp_cmp_builtin_debug.ll │ ├── xdp_cmp_loop.ll │ ├── xdp_cmp_loop_debug.ll │ ├── xdp_custom_hdr.ll │ ├── xdp_custom_hdr_debug.ll │ ├── xdp_debug.ll │ ├── xdp_drop_port8080.ll │ ├── xdp_drop_port8080_debug.ll │ ├── xdp_redefine.ll │ ├── xdp_redefine_debug.ll │ ├── xdp_simple_check.ll │ ├── xdp_simple_check_debug.ll │ ├── xdp_simple_check_unlikely.ll │ ├── xdp_simple_check_unlikely_debug.ll │ ├── xdp_simple_drop.ll │ ├── xdp_simple_drop_debug.ll │ ├── xdp_simple_pass.ll │ └── xdp_simple_pass_debug.ll ├── gcc │ ├── debug │ │ ├── 16to64O0.s │ │ ├── 16to64O1.s │ │ ├── 16to64O2.s │ │ ├── 16to64O3.s │ │ ├── 32to64O0.s │ │ ├── 32to64O1.s │ │ ├── 32to64O2.s │ │ ├── 32to64O3.s │ │ ├── 64O0.s │ │ ├── 64O1.s │ │ ├── 64O2.s │ │ ├── 64O3.s │ │ ├── 64_2O0.s │ │ ├── 64_2O1.s │ │ ├── 64_2O2.s │ │ ├── 64_2O3.s │ │ ├── 64to16O0.s │ │ ├── 64to16O1.s │ │ ├── 64to16O2.s │ │ ├── 64to16O3.s │ │ ├── 64to32O0.s │ │ ├── 64to32O1.s │ │ ├── 64to32O2.s │ │ ├── 64to32O3.s │ │ ├── 64to8O0.s │ │ ├── 64to8O1.s │ │ ├── 64to8O2.s │ │ ├── 64to8O3.s │ │ ├── 8to64O0.s │ │ ├── 8to64O1.s │ │ ├── 8to64O2.s │ │ ├── 8to64O3.s │ │ ├── emptyO0.s │ │ ├── emptyO1.s │ │ ├── emptyO2.s │ │ ├── emptyO3.s │ │ ├── forloopO0.s │ │ ├── forloopO1.s │ │ ├── forloopO2.s │ │ ├── forloopO3.s │ │ ├── fprintfO0.s │ │ ├── fprintfO1.s │ │ ├── fprintfO2.s │ │ ├── fprintfO3.s │ │ ├── ifO0.s │ │ ├── ifO1.s │ │ ├── ifO2.s │ │ ├── ifO3.s │ │ ├── if_simpleO0.s │ │ ├── if_simpleO1.s │ │ ├── if_simpleO2.s │ │ ├── if_simpleO3.s │ │ ├── matchrsO0.s │ │ ├── matchrsO1.s │ │ ├── matchrsO2.s │ │ ├── matchrsO3.s │ │ ├── matchstructO0.s │ │ ├── matchstructO1.s │ │ ├── matchstructO2.s │ │ ├── matchstructO3.s │ │ ├── memcpyO0.s │ │ ├── memcpyO1.s │ │ ├── memcpyO2.s │ │ ├── memcpyO3.s │ │ ├── nullptrO0.s │ │ ├── nullptrO1.s │ │ ├── nullptrO2.s │ │ ├── nullptrO3.s │ │ ├── perftest1_oneO0.s │ │ ├── perftest1_oneO1.s │ │ ├── perftest1_oneO2.s │ │ ├── perftest1_oneO3.s │ │ ├── perftest1_twoO0.s │ │ ├── perftest1_twoO1.s │ │ ├── perftest1_twoO2.s │ │ ├── perftest1_twoO3.s │ │ ├── perftest2_oneO0.s │ │ ├── perftest2_oneO1.s │ │ ├── perftest2_oneO2.s │ │ ├── perftest2_oneO3.s │ │ ├── perftest2_twoO0.s │ │ ├── perftest2_twoO1.s │ │ ├── perftest2_twoO2.s │ │ ├── perftest2_twoO3.s │ │ ├── perftest3_oneO0.s │ │ ├── perftest3_oneO1.s │ │ ├── perftest3_oneO2.s │ │ ├── perftest3_oneO3.s │ │ ├── perftest3_twoO0.s │ │ ├── perftest3_twoO1.s │ │ ├── perftest3_twoO2.s │ │ ├── perftest3_twoO3.s │ │ ├── pointerO0.s │ │ ├── pointerO1.s │ │ ├── pointerO2.s │ │ ├── pointerO3.s │ │ ├── pointer_reassignO0.s │ │ ├── pointer_reassignO1.s │ │ ├── pointer_reassignO2.s │ │ ├── pointer_reassignO3.s │ │ ├── printO0.s │ │ ├── printO1.s │ │ ├── printO2.s │ │ ├── printO3.s │ │ ├── printfO0.s │ │ ├── printfO1.s │ │ ├── printfO2.s │ │ ├── printfO3.s │ │ ├── switchO0.s │ │ ├── switchO1.s │ │ ├── switchO2.s │ │ ├── switchO3.s │ │ ├── switch_simpleO0.s │ │ ├── switch_simpleO1.s │ │ ├── switch_simpleO2.s │ │ ├── switch_simpleO3.s │ │ ├── unroll_not_testO0.s │ │ ├── unroll_not_testO1.s │ │ ├── unroll_not_testO2.s │ │ ├── unroll_not_testO3.s │ │ ├── unroll_simpleO0.s │ │ ├── unroll_simpleO1.s │ │ ├── unroll_simpleO2.s │ │ ├── unroll_simpleO3.s │ │ ├── unroll_simple_notO0.s │ │ ├── unroll_simple_notO1.s │ │ ├── unroll_simple_notO2.s │ │ ├── unroll_simple_notO3.s │ │ ├── unroll_testO0.s │ │ ├── unroll_testO1.s │ │ ├── unroll_testO2.s │ │ ├── unroll_testO3.s │ │ ├── xdpO0.s │ │ ├── xdpO1.s │ │ ├── xdpO2.s │ │ ├── xdpO3.s │ │ ├── xdp_adjust_headO0.s │ │ ├── xdp_adjust_headO1.s │ │ ├── xdp_adjust_headO2.s │ │ ├── xdp_adjust_headO3.s │ │ ├── xdp_adjust_tailO0.s │ │ ├── xdp_adjust_tailO1.s │ │ ├── xdp_adjust_tailO2.s │ │ ├── xdp_adjust_tailO3.s │ │ ├── xdp_block_port8080O0.s │ │ ├── xdp_block_port8080O1.s │ │ ├── xdp_block_port8080O2.s │ │ ├── xdp_block_port8080O3.s │ │ ├── xdp_cmp_builtinO0.s │ │ ├── xdp_cmp_builtinO1.s │ │ ├── xdp_cmp_builtinO2.s │ │ ├── xdp_cmp_builtinO3.s │ │ ├── xdp_cmp_loopO0.s │ │ ├── xdp_cmp_loopO1.s │ │ ├── xdp_cmp_loopO2.s │ │ ├── xdp_cmp_loopO3.s │ │ ├── xdp_custom_hdrO0.s │ │ ├── xdp_custom_hdrO1.s │ │ ├── xdp_custom_hdrO2.s │ │ ├── xdp_custom_hdrO3.s │ │ ├── xdp_drop_port8080O0.s │ │ ├── xdp_drop_port8080O1.s │ │ ├── xdp_drop_port8080O2.s │ │ ├── xdp_drop_port8080O3.s │ │ ├── xdp_redefineO0.s │ │ ├── xdp_redefineO1.s │ │ ├── xdp_redefineO2.s │ │ ├── xdp_redefineO3.s │ │ ├── xdp_simple_checkO0.s │ │ ├── xdp_simple_checkO1.s │ │ ├── xdp_simple_checkO2.s │ │ ├── xdp_simple_checkO3.s │ │ ├── xdp_simple_check_unlikelyO0.s │ │ ├── xdp_simple_check_unlikelyO1.s │ │ ├── xdp_simple_check_unlikelyO2.s │ │ ├── xdp_simple_check_unlikelyO3.s │ │ ├── xdp_simple_dropO0.s │ │ ├── xdp_simple_dropO1.s │ │ ├── xdp_simple_dropO2.s │ │ ├── xdp_simple_dropO3.s │ │ ├── xdp_simple_passO0.s │ │ ├── xdp_simple_passO1.s │ │ ├── xdp_simple_passO2.s │ │ └── xdp_simple_passO3.s │ └── main │ │ ├── 16to64O0.s │ │ ├── 16to64O1.s │ │ ├── 16to64O2.s │ │ ├── 16to64O3.s │ │ ├── 32to64O0.s │ │ ├── 32to64O1.s │ │ ├── 32to64O2.s │ │ ├── 32to64O3.s │ │ ├── 64O0.s │ │ ├── 64O1.s │ │ ├── 64O2.s │ │ ├── 64O3.s │ │ ├── 64_2O0.s │ │ ├── 64_2O1.s │ │ ├── 64_2O2.s │ │ ├── 64_2O3.s │ │ ├── 64to16O0.s │ │ ├── 64to16O1.s │ │ ├── 64to16O2.s │ │ ├── 64to16O3.s │ │ ├── 64to32O0.s │ │ ├── 64to32O1.s │ │ ├── 64to32O2.s │ │ ├── 64to32O3.s │ │ ├── 64to8O0.s │ │ ├── 64to8O1.s │ │ ├── 64to8O2.s │ │ ├── 64to8O3.s │ │ ├── 8to64O0.s │ │ ├── 8to64O1.s │ │ ├── 8to64O2.s │ │ ├── 8to64O3.s │ │ ├── emptyO0.s │ │ ├── emptyO1.s │ │ ├── emptyO2.s │ │ ├── emptyO3.s │ │ ├── forloopO0.s │ │ ├── forloopO1.s │ │ ├── forloopO2.s │ │ ├── forloopO3.s │ │ ├── fprintfO0.s │ │ ├── fprintfO1.s │ │ ├── fprintfO2.s │ │ ├── fprintfO3.s │ │ ├── ifO0.s │ │ ├── ifO1.s │ │ ├── ifO2.s │ │ ├── ifO3.s │ │ ├── if_simpleO0.s │ │ ├── if_simpleO1.s │ │ ├── if_simpleO2.s │ │ ├── if_simpleO3.s │ │ ├── matchrsO0.s │ │ ├── matchrsO1.s │ │ ├── matchrsO2.s │ │ ├── matchrsO3.s │ │ ├── matchstructO0.s │ │ ├── matchstructO1.s │ │ ├── matchstructO2.s │ │ ├── matchstructO3.s │ │ ├── memcpyO0.s │ │ ├── memcpyO1.s │ │ ├── memcpyO2.s │ │ ├── memcpyO3.s │ │ ├── nullptrO0.s │ │ ├── nullptrO1.s │ │ ├── nullptrO2.s │ │ ├── nullptrO3.s │ │ ├── perftest1_oneO0.s │ │ ├── perftest1_oneO1.s │ │ ├── perftest1_oneO2.s │ │ ├── perftest1_oneO3.s │ │ ├── perftest1_twoO0.s │ │ ├── perftest1_twoO1.s │ │ ├── perftest1_twoO2.s │ │ ├── perftest1_twoO3.s │ │ ├── perftest2_oneO0.s │ │ ├── perftest2_oneO1.s │ │ ├── perftest2_oneO2.s │ │ ├── perftest2_oneO3.s │ │ ├── perftest2_twoO0.s │ │ ├── perftest2_twoO1.s │ │ ├── perftest2_twoO2.s │ │ ├── perftest2_twoO3.s │ │ ├── perftest3_oneO0.s │ │ ├── perftest3_oneO1.s │ │ ├── perftest3_oneO2.s │ │ ├── perftest3_oneO3.s │ │ ├── perftest3_twoO0.s │ │ ├── perftest3_twoO1.s │ │ ├── perftest3_twoO2.s │ │ ├── perftest3_twoO3.s │ │ ├── pointerO0.s │ │ ├── pointerO1.s │ │ ├── pointerO2.s │ │ ├── pointerO3.s │ │ ├── pointer_reassignO0.s │ │ ├── pointer_reassignO1.s │ │ ├── pointer_reassignO2.s │ │ ├── pointer_reassignO3.s │ │ ├── printO0.s │ │ ├── printO1.s │ │ ├── printO2.s │ │ ├── printO3.s │ │ ├── printfO0.s │ │ ├── printfO1.s │ │ ├── printfO2.s │ │ ├── printfO3.s │ │ ├── switchO0.s │ │ ├── switchO1.s │ │ ├── switchO2.s │ │ ├── switchO3.s │ │ ├── switch_simpleO0.s │ │ ├── switch_simpleO1.s │ │ ├── switch_simpleO2.s │ │ ├── switch_simpleO3.s │ │ ├── unroll_not_testO0.s │ │ ├── unroll_not_testO1.s │ │ ├── unroll_not_testO2.s │ │ ├── unroll_not_testO3.s │ │ ├── unroll_simpleO0.s │ │ ├── unroll_simpleO1.s │ │ ├── unroll_simpleO2.s │ │ ├── unroll_simpleO3.s │ │ ├── unroll_simple_notO0.s │ │ ├── unroll_simple_notO1.s │ │ ├── unroll_simple_notO2.s │ │ ├── unroll_simple_notO3.s │ │ ├── unroll_testO0.s │ │ ├── unroll_testO1.s │ │ ├── unroll_testO2.s │ │ ├── unroll_testO3.s │ │ ├── xdpO0.s │ │ ├── xdpO1.s │ │ ├── xdpO2.s │ │ ├── xdpO3.s │ │ ├── xdp_adjust_headO0.s │ │ ├── xdp_adjust_headO1.s │ │ ├── xdp_adjust_headO2.s │ │ ├── xdp_adjust_headO3.s │ │ ├── xdp_adjust_tailO0.s │ │ ├── xdp_adjust_tailO1.s │ │ ├── xdp_adjust_tailO2.s │ │ ├── xdp_adjust_tailO3.s │ │ ├── xdp_block_port8080O0.s │ │ ├── xdp_block_port8080O1.s │ │ ├── xdp_block_port8080O2.s │ │ ├── xdp_block_port8080O3.s │ │ ├── xdp_cmp_builtinO0.s │ │ ├── xdp_cmp_builtinO1.s │ │ ├── xdp_cmp_builtinO2.s │ │ ├── xdp_cmp_builtinO3.s │ │ ├── xdp_cmp_loopO0.s │ │ ├── xdp_cmp_loopO1.s │ │ ├── xdp_cmp_loopO2.s │ │ ├── xdp_cmp_loopO3.s │ │ ├── xdp_custom_hdrO0.s │ │ ├── xdp_custom_hdrO1.s │ │ ├── xdp_custom_hdrO2.s │ │ ├── xdp_custom_hdrO3.s │ │ ├── xdp_drop_port8080O0.s │ │ ├── xdp_drop_port8080O1.s │ │ ├── xdp_drop_port8080O2.s │ │ ├── xdp_drop_port8080O3.s │ │ ├── xdp_redefineO0.s │ │ ├── xdp_redefineO1.s │ │ ├── xdp_redefineO2.s │ │ ├── xdp_redefineO3.s │ │ ├── xdp_simple_checkO0.s │ │ ├── xdp_simple_checkO1.s │ │ ├── xdp_simple_checkO2.s │ │ ├── xdp_simple_checkO3.s │ │ ├── xdp_simple_check_unlikelyO0.s │ │ ├── xdp_simple_check_unlikelyO1.s │ │ ├── xdp_simple_check_unlikelyO2.s │ │ ├── xdp_simple_check_unlikelyO3.s │ │ ├── xdp_simple_dropO0.s │ │ ├── xdp_simple_dropO1.s │ │ ├── xdp_simple_dropO2.s │ │ ├── xdp_simple_dropO3.s │ │ ├── xdp_simple_passO0.s │ │ ├── xdp_simple_passO1.s │ │ ├── xdp_simple_passO2.s │ │ └── xdp_simple_passO3.s └── objdump │ ├── xdp_adjust_headO0.dmp │ ├── xdp_adjust_headO0.o │ ├── xdp_adjust_headO1.dmp │ ├── xdp_adjust_headO1.o │ ├── xdp_adjust_headO2.dmp │ ├── xdp_adjust_headO2.o │ ├── xdp_adjust_headO3.dmp │ ├── xdp_adjust_headO3.o │ ├── xdp_adjust_tailO0.dmp │ ├── xdp_adjust_tailO0.o │ ├── xdp_adjust_tailO1.dmp │ ├── xdp_adjust_tailO1.o │ ├── xdp_adjust_tailO2.dmp │ ├── xdp_adjust_tailO2.o │ ├── xdp_adjust_tailO3.dmp │ ├── xdp_adjust_tailO3.o │ ├── xdp_block_port8080O0.dmp │ ├── xdp_block_port8080O0.o │ ├── xdp_block_port8080O1.dmp │ ├── xdp_block_port8080O1.o │ ├── xdp_block_port8080O2.dmp │ ├── xdp_block_port8080O2.o │ ├── xdp_block_port8080O3.dmp │ ├── xdp_block_port8080O3.o │ ├── xdp_cmp_builtinO0.dmp │ ├── xdp_cmp_builtinO0.o │ ├── xdp_cmp_builtinO1.dmp │ ├── xdp_cmp_builtinO1.o │ ├── xdp_cmp_builtinO2.dmp │ ├── xdp_cmp_builtinO2.o │ ├── xdp_cmp_builtinO3.dmp │ ├── xdp_cmp_builtinO3.o │ ├── xdp_cmp_loopO0.dmp │ ├── xdp_cmp_loopO0.o │ ├── xdp_cmp_loopO1.dmp │ ├── xdp_cmp_loopO1.o │ ├── xdp_cmp_loopO2.dmp │ ├── xdp_cmp_loopO2.o │ ├── xdp_cmp_loopO3.dmp │ ├── xdp_cmp_loopO3.o │ ├── xdp_custom_hdrO0.dmp │ ├── xdp_custom_hdrO0.o │ ├── xdp_custom_hdrO1.dmp │ ├── xdp_custom_hdrO1.o │ ├── xdp_custom_hdrO2.dmp │ ├── xdp_custom_hdrO2.o │ ├── xdp_custom_hdrO3.dmp │ ├── xdp_custom_hdrO3.o │ ├── xdp_drop_port8080O0.dmp │ ├── xdp_drop_port8080O0.o │ ├── xdp_drop_port8080O1.dmp │ ├── xdp_drop_port8080O1.o │ ├── xdp_drop_port8080O2.dmp │ ├── xdp_drop_port8080O2.o │ ├── xdp_drop_port8080O3.dmp │ ├── xdp_drop_port8080O3.o │ ├── xdp_redefineO0.dmp │ ├── xdp_redefineO0.o │ ├── xdp_redefineO1.dmp │ ├── xdp_redefineO1.o │ ├── xdp_redefineO2.dmp │ ├── xdp_redefineO2.o │ ├── xdp_redefineO3.dmp │ ├── xdp_redefineO3.o │ ├── xdp_simple_checkO0.dmp │ ├── xdp_simple_checkO0.o │ ├── xdp_simple_checkO1.dmp │ ├── xdp_simple_checkO1.o │ ├── xdp_simple_checkO2.dmp │ ├── xdp_simple_checkO2.o │ ├── xdp_simple_checkO3.dmp │ ├── xdp_simple_checkO3.o │ ├── xdp_simple_check_unlikelyO0.dmp │ ├── xdp_simple_check_unlikelyO0.o │ ├── xdp_simple_check_unlikelyO1.dmp │ ├── xdp_simple_check_unlikelyO1.o │ ├── xdp_simple_check_unlikelyO2.dmp │ ├── xdp_simple_check_unlikelyO2.o │ ├── xdp_simple_check_unlikelyO3.dmp │ ├── xdp_simple_check_unlikelyO3.o │ ├── xdp_simple_dropO0.dmp │ ├── xdp_simple_dropO0.o │ ├── xdp_simple_dropO1.dmp │ ├── xdp_simple_dropO1.o │ ├── xdp_simple_dropO2.dmp │ ├── xdp_simple_dropO2.o │ ├── xdp_simple_dropO3.dmp │ ├── xdp_simple_dropO3.o │ ├── xdp_simple_passO0.dmp │ ├── xdp_simple_passO0.o │ ├── xdp_simple_passO1.dmp │ ├── xdp_simple_passO1.o │ ├── xdp_simple_passO2.dmp │ ├── xdp_simple_passO2.o │ ├── xdp_simple_passO3.dmp │ └── xdp_simple_passO3.o ├── scripts ├── genassembly.sh └── gensrcdir.sh └── src ├── 16to64.c ├── 32to64.c ├── 64.c ├── 64_2.c ├── 64to16.c ├── 64to32.c ├── 64to8.c ├── 8to64.c ├── empty.c ├── forloop.c ├── fprintf.c ├── if.c ├── if_simple.c ├── matchrs.c ├── matchstruct.c ├── memcpy.c ├── nullptr.c ├── perftest1_one.c ├── perftest1_two.c ├── perftest2.h ├── perftest2_one.c ├── perftest2_two.c ├── perftest3_one.c ├── perftest3_two.c ├── pointer.c ├── pointer_reassign.c ├── print.c ├── printf.c ├── switch.c ├── switch_simple.c ├── unroll_not_test.c ├── unroll_simple.c ├── unroll_simple_not.c ├── unroll_test.c ├── xdp_adjust_head.c ├── xdp_adjust_tail.c ├── xdp_block_port8080.c ├── xdp_cmp.h ├── xdp_cmp_builtin.c ├── xdp_cmp_loop.c ├── xdp_custom_hdr.c ├── xdp_drop_port8080.c ├── xdp_redefine.c ├── xdp_simple_check.c ├── xdp_simple_check_unlikely.c ├── xdp_simple_drop.c └── xdp_simple_pass.c /asm/clang/main/emptyO0.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "empty.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rbp 10 | .cfi_def_cfa_offset 16 11 | .cfi_offset %rbp, -16 12 | movq %rsp, %rbp 13 | .cfi_def_cfa_register %rbp 14 | movl $0, -4(%rbp) 15 | xorl %eax, %eax 16 | popq %rbp 17 | .cfi_def_cfa %rsp, 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .ident "Debian clang version 14.0.6" 24 | .section ".note.GNU-stack","",@progbits 25 | .addrsig 26 | -------------------------------------------------------------------------------- /asm/clang/main/emptyO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "empty.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .ident "Debian clang version 14.0.6" 16 | .section ".note.GNU-stack","",@progbits 17 | .addrsig 18 | -------------------------------------------------------------------------------- /asm/clang/main/emptyO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "empty.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .ident "Debian clang version 14.0.6" 16 | .section ".note.GNU-stack","",@progbits 17 | .addrsig 18 | -------------------------------------------------------------------------------- /asm/clang/main/emptyO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "empty.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .ident "Debian clang version 14.0.6" 16 | .section ".note.GNU-stack","",@progbits 17 | .addrsig 18 | -------------------------------------------------------------------------------- /asm/clang/main/forloopO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "forloop.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .type bytes,@object # @bytes 16 | .section .rodata,"a",@progbits 17 | .globl bytes 18 | bytes: 19 | .ascii "\000\377\377\377U\023T\006" 20 | .size bytes, 8 21 | 22 | .ident "Debian clang version 14.0.6" 23 | .section ".note.GNU-stack","",@progbits 24 | .addrsig 25 | -------------------------------------------------------------------------------- /asm/clang/main/forloopO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "forloop.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .type bytes,@object # @bytes 16 | .section .rodata,"a",@progbits 17 | .globl bytes 18 | bytes: 19 | .ascii "\000\377\377\377U\023T\006" 20 | .size bytes, 8 21 | 22 | .ident "Debian clang version 14.0.6" 23 | .section ".note.GNU-stack","",@progbits 24 | .addrsig 25 | -------------------------------------------------------------------------------- /asm/clang/main/forloopO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "forloop.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .type bytes,@object # @bytes 16 | .section .rodata,"a",@progbits 17 | .globl bytes 18 | bytes: 19 | .ascii "\000\377\377\377U\023T\006" 20 | .size bytes, 8 21 | 22 | .ident "Debian clang version 14.0.6" 23 | .section ".note.GNU-stack","",@progbits 24 | .addrsig 25 | -------------------------------------------------------------------------------- /asm/clang/main/ifO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "if.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "case #5" 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/ifO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "if.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "case #5" 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/ifO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "if.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "case #5" 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/if_simpleO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "if_simple.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "i is 5." 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/if_simpleO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "if_simple.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "i is 5." 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/if_simpleO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "if_simple.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "i is 5." 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/matchrsO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "matchrs.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "Flags set correctly!" 25 | .size .Lstr, 21 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/matchrsO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "matchrs.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "Flags set correctly!" 25 | .size .Lstr, 21 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/matchrsO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "matchrs.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "Flags set correctly!" 25 | .size .Lstr, 21 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/matchstructO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "matchstruct.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "Flags set correctly!" 25 | .size .Lstr, 21 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/matchstructO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "matchstruct.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "Flags set correctly!" 25 | .size .Lstr, 21 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/matchstructO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "matchstruct.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "Flags set correctly!" 25 | .size .Lstr, 21 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/memcpyO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "memcpy.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .type bytes,@object # @bytes 16 | .section .rodata,"a",@progbits 17 | .globl bytes 18 | bytes: 19 | .ascii "\000\377\377\377U\023T\006" 20 | .size bytes, 8 21 | 22 | .ident "Debian clang version 14.0.6" 23 | .section ".note.GNU-stack","",@progbits 24 | .addrsig 25 | -------------------------------------------------------------------------------- /asm/clang/main/memcpyO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "memcpy.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .type bytes,@object # @bytes 16 | .section .rodata,"a",@progbits 17 | .globl bytes 18 | bytes: 19 | .ascii "\000\377\377\377U\023T\006" 20 | .size bytes, 8 21 | 22 | .ident "Debian clang version 14.0.6" 23 | .section ".note.GNU-stack","",@progbits 24 | .addrsig 25 | -------------------------------------------------------------------------------- /asm/clang/main/memcpyO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "memcpy.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | xorl %eax, %eax 10 | retq 11 | .Lfunc_end0: 12 | .size main, .Lfunc_end0-main 13 | .cfi_endproc 14 | # -- End function 15 | .type bytes,@object # @bytes 16 | .section .rodata,"a",@progbits 17 | .globl bytes 18 | bytes: 19 | .ascii "\000\377\377\377U\023T\006" 20 | .size bytes, 8 21 | 22 | .ident "Debian clang version 14.0.6" 23 | .section ".note.GNU-stack","",@progbits 24 | .addrsig 25 | -------------------------------------------------------------------------------- /asm/clang/main/perftest1_oneO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "perftest1_one.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .L.str(%rip), %rdi 12 | movl $3, %esi 13 | xorl %eax, %eax 14 | callq printf@PLT 15 | xorl %eax, %eax 16 | popq %rcx 17 | .cfi_def_cfa_offset 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .type .L.str,@object # @.str 24 | .section .rodata.str1.1,"aMS",@progbits,1 25 | .L.str: 26 | .asciz "Value is %d.\n" 27 | .size .L.str, 14 28 | 29 | .ident "Debian clang version 14.0.6" 30 | .section ".note.GNU-stack","",@progbits 31 | .addrsig 32 | -------------------------------------------------------------------------------- /asm/clang/main/perftest1_oneO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "perftest1_one.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .L.str(%rip), %rdi 12 | movl $3, %esi 13 | xorl %eax, %eax 14 | callq printf@PLT 15 | xorl %eax, %eax 16 | popq %rcx 17 | .cfi_def_cfa_offset 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .type .L.str,@object # @.str 24 | .section .rodata.str1.1,"aMS",@progbits,1 25 | .L.str: 26 | .asciz "Value is %d.\n" 27 | .size .L.str, 14 28 | 29 | .ident "Debian clang version 14.0.6" 30 | .section ".note.GNU-stack","",@progbits 31 | .addrsig 32 | -------------------------------------------------------------------------------- /asm/clang/main/perftest1_oneO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "perftest1_one.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .L.str(%rip), %rdi 12 | movl $3, %esi 13 | xorl %eax, %eax 14 | callq printf@PLT 15 | xorl %eax, %eax 16 | popq %rcx 17 | .cfi_def_cfa_offset 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .type .L.str,@object # @.str 24 | .section .rodata.str1.1,"aMS",@progbits,1 25 | .L.str: 26 | .asciz "Value is %d.\n" 27 | .size .L.str, 14 28 | 29 | .ident "Debian clang version 14.0.6" 30 | .section ".note.GNU-stack","",@progbits 31 | .addrsig 32 | -------------------------------------------------------------------------------- /asm/clang/main/perftest1_twoO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "perftest1_two.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .L.str(%rip), %rdi 12 | movl $3, %esi 13 | xorl %eax, %eax 14 | callq printf@PLT 15 | xorl %eax, %eax 16 | popq %rcx 17 | .cfi_def_cfa_offset 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .type .L.str,@object # @.str 24 | .section .rodata.str1.1,"aMS",@progbits,1 25 | .L.str: 26 | .asciz "Value is %d.\n" 27 | .size .L.str, 14 28 | 29 | .ident "Debian clang version 14.0.6" 30 | .section ".note.GNU-stack","",@progbits 31 | .addrsig 32 | -------------------------------------------------------------------------------- /asm/clang/main/perftest1_twoO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "perftest1_two.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .L.str(%rip), %rdi 12 | movl $3, %esi 13 | xorl %eax, %eax 14 | callq printf@PLT 15 | xorl %eax, %eax 16 | popq %rcx 17 | .cfi_def_cfa_offset 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .type .L.str,@object # @.str 24 | .section .rodata.str1.1,"aMS",@progbits,1 25 | .L.str: 26 | .asciz "Value is %d.\n" 27 | .size .L.str, 14 28 | 29 | .ident "Debian clang version 14.0.6" 30 | .section ".note.GNU-stack","",@progbits 31 | .addrsig 32 | -------------------------------------------------------------------------------- /asm/clang/main/perftest1_twoO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "perftest1_two.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .L.str(%rip), %rdi 12 | movl $3, %esi 13 | xorl %eax, %eax 14 | callq printf@PLT 15 | xorl %eax, %eax 16 | popq %rcx 17 | .cfi_def_cfa_offset 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .type .L.str,@object # @.str 24 | .section .rodata.str1.1,"aMS",@progbits,1 25 | .L.str: 26 | .asciz "Value is %d.\n" 27 | .size .L.str, 14 28 | 29 | .ident "Debian clang version 14.0.6" 30 | .section ".note.GNU-stack","",@progbits 31 | .addrsig 32 | -------------------------------------------------------------------------------- /asm/clang/main/printfO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "printf.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "This is a test." 25 | .size .Lstr, 16 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/printfO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "printf.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "This is a test." 25 | .size .Lstr, 16 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/printfO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "printf.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "This is a test." 25 | .size .Lstr, 16 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/switchO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "switch.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "case #5" 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/switchO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "switch.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "case #5" 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/switchO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "switch.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "case #5" 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/switch_simpleO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "switch_simple.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "i is 5." 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/switch_simpleO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "switch_simple.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "i is 5." 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/switch_simpleO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "switch_simple.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rax 10 | .cfi_def_cfa_offset 16 11 | leaq .Lstr(%rip), %rdi 12 | callq puts@PLT 13 | xorl %eax, %eax 14 | popq %rcx 15 | .cfi_def_cfa_offset 8 16 | retq 17 | .Lfunc_end0: 18 | .size main, .Lfunc_end0-main 19 | .cfi_endproc 20 | # -- End function 21 | .type .Lstr,@object # @str 22 | .section .rodata.str1.1,"aMS",@progbits,1 23 | .Lstr: 24 | .asciz "i is 5." 25 | .size .Lstr, 8 26 | 27 | .ident "Debian clang version 14.0.6" 28 | .section ".note.GNU-stack","",@progbits 29 | .addrsig 30 | -------------------------------------------------------------------------------- /asm/clang/main/xdpO0.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | r2 = r1 8 | *(u64 *)(r10 - 8) = r1 9 | r0 = 0 10 | *(u64 *)(r10 - 16) = r2 11 | exit 12 | # -- End function 13 | 14 | -------------------------------------------------------------------------------- /asm/clang/main/xdpO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | r0 = 0 8 | exit 9 | # -- End function 10 | 11 | -------------------------------------------------------------------------------- /asm/clang/main/xdpO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | r0 = 0 8 | exit 9 | # -- End function 10 | 11 | -------------------------------------------------------------------------------- /asm/clang/main/xdpO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | r0 = 0 8 | exit 9 | # -- End function 10 | 11 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_redefineO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_redefine.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_redefineO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_redefine.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_redefineO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_redefine.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_checkO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_check.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_checkO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_check.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_checkO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_check.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_check_unlikelyO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_check_unlikely.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_check_unlikelyO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_check_unlikely.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_check_unlikelyO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_check_unlikely.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | r2 = *(u32 *)(r1 + 4) 11 | r3 = *(u32 *)(r1 + 0) 12 | r1 = r3 13 | r1 += 14 14 | if r1 > r2 goto LBB0_4 15 | # %bb.1: 16 | r3 += 34 17 | if r3 > r2 goto LBB0_4 18 | # %bb.2: 19 | r3 = *(u8 *)(r1 + 0) 20 | r3 <<= 2 21 | r3 &= 60 22 | r1 += r3 23 | r1 += 20 24 | r0 = 1 25 | if r1 > r2 goto LBB0_4 26 | # %bb.3: 27 | r0 = 2 28 | LBB0_4: 29 | exit 30 | .Lfunc_end0: 31 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 32 | # -- End function 33 | .addrsig 34 | .addrsig_sym xdp_prog_main 35 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_dropO0.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | *(u64 *)(r10 - 8) = r1 10 | r0 = 1 11 | exit 12 | .Lfunc_end0: 13 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 14 | # -- End function 15 | .addrsig 16 | .addrsig_sym xdp_prog_main 17 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_dropO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | exit 11 | .Lfunc_end0: 12 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 13 | # -- End function 14 | .addrsig 15 | .addrsig_sym xdp_prog_main 16 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_dropO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | exit 11 | .Lfunc_end0: 12 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 13 | # -- End function 14 | .addrsig 15 | .addrsig_sym xdp_prog_main 16 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_dropO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 1 10 | exit 11 | .Lfunc_end0: 12 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 13 | # -- End function 14 | .addrsig 15 | .addrsig_sym xdp_prog_main 16 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_passO0.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | *(u64 *)(r10 - 8) = r1 10 | r0 = 2 11 | exit 12 | .Lfunc_end0: 13 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 14 | # -- End function 15 | .addrsig 16 | .addrsig_sym xdp_prog_main 17 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_passO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 2 10 | exit 11 | .Lfunc_end0: 12 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 13 | # -- End function 14 | .addrsig 15 | .addrsig_sym xdp_prog_main 16 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_passO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 2 10 | exit 11 | .Lfunc_end0: 12 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 13 | # -- End function 14 | .addrsig 15 | .addrsig_sym xdp_prog_main 16 | -------------------------------------------------------------------------------- /asm/clang/main/xdp_simple_passO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | # %bb.0: 9 | r0 = 2 10 | exit 11 | .Lfunc_end0: 12 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 13 | # -- End function 14 | .addrsig 15 | .addrsig_sym xdp_prog_main 16 | -------------------------------------------------------------------------------- /asm/clangandllc/16to64.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/16to64.ll -------------------------------------------------------------------------------- /asm/clangandllc/16to64_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/16to64_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/32to64.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/32to64.ll -------------------------------------------------------------------------------- /asm/clangandllc/32to64_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/32to64_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/64.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64.ll -------------------------------------------------------------------------------- /asm/clangandllc/64_2.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64_2.ll -------------------------------------------------------------------------------- /asm/clangandllc/64_2_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64_2_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/64_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/64to16.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64to16.ll -------------------------------------------------------------------------------- /asm/clangandllc/64to16_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64to16_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/64to32.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64to32.ll -------------------------------------------------------------------------------- /asm/clangandllc/64to32_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64to32_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/64to8.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64to8.ll -------------------------------------------------------------------------------- /asm/clangandllc/64to8_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/64to8_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/8to64.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/8to64.ll -------------------------------------------------------------------------------- /asm/clangandllc/8to64_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/8to64_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/empty.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/empty.ll -------------------------------------------------------------------------------- /asm/clangandllc/empty_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/empty_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/forloop.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/forloop.ll -------------------------------------------------------------------------------- /asm/clangandllc/forloop_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/forloop_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/fprintf.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/fprintf.ll -------------------------------------------------------------------------------- /asm/clangandllc/fprintf_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/fprintf_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/if.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/if.ll -------------------------------------------------------------------------------- /asm/clangandllc/if_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/if_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/if_simple.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/if_simple.ll -------------------------------------------------------------------------------- /asm/clangandllc/if_simple_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/if_simple_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/main/emptyO0.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "empty.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rbp 10 | .cfi_def_cfa_offset 16 11 | .cfi_offset %rbp, -16 12 | movq %rsp, %rbp 13 | .cfi_def_cfa_register %rbp 14 | movl $0, -4(%rbp) 15 | xorl %eax, %eax 16 | popq %rbp 17 | .cfi_def_cfa %rsp, 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .ident "Debian clang version 14.0.6" 24 | .section ".note.GNU-stack","",@progbits 25 | -------------------------------------------------------------------------------- /asm/clangandllc/main/emptyO0_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .intel_syntax noprefix 3 | .file "empty.c" 4 | .globl main # -- Begin function main 5 | .p2align 4, 0x90 6 | .type main,@function 7 | main: # @main 8 | .cfi_startproc 9 | # %bb.0: 10 | push rbp 11 | .cfi_def_cfa_offset 16 12 | .cfi_offset rbp, -16 13 | mov rbp, rsp 14 | .cfi_def_cfa_register rbp 15 | mov dword ptr [rbp - 4], 0 16 | xor eax, eax 17 | pop rbp 18 | .cfi_def_cfa rsp, 8 19 | ret 20 | .Lfunc_end0: 21 | .size main, .Lfunc_end0-main 22 | .cfi_endproc 23 | # -- End function 24 | .ident "Debian clang version 14.0.6" 25 | .section ".note.GNU-stack","",@progbits 26 | -------------------------------------------------------------------------------- /asm/clangandllc/main/emptyO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "empty.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rbp 10 | .cfi_def_cfa_offset 16 11 | .cfi_offset %rbp, -16 12 | movq %rsp, %rbp 13 | .cfi_def_cfa_register %rbp 14 | movl $0, -4(%rbp) 15 | xorl %eax, %eax 16 | popq %rbp 17 | .cfi_def_cfa %rsp, 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .ident "Debian clang version 14.0.6" 24 | .section ".note.GNU-stack","",@progbits 25 | -------------------------------------------------------------------------------- /asm/clangandllc/main/emptyO1_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .intel_syntax noprefix 3 | .file "empty.c" 4 | .globl main # -- Begin function main 5 | .p2align 4, 0x90 6 | .type main,@function 7 | main: # @main 8 | .cfi_startproc 9 | # %bb.0: 10 | push rbp 11 | .cfi_def_cfa_offset 16 12 | .cfi_offset rbp, -16 13 | mov rbp, rsp 14 | .cfi_def_cfa_register rbp 15 | mov dword ptr [rbp - 4], 0 16 | xor eax, eax 17 | pop rbp 18 | .cfi_def_cfa rsp, 8 19 | ret 20 | .Lfunc_end0: 21 | .size main, .Lfunc_end0-main 22 | .cfi_endproc 23 | # -- End function 24 | .ident "Debian clang version 14.0.6" 25 | .section ".note.GNU-stack","",@progbits 26 | -------------------------------------------------------------------------------- /asm/clangandllc/main/emptyO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "empty.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rbp 10 | .cfi_def_cfa_offset 16 11 | .cfi_offset %rbp, -16 12 | movq %rsp, %rbp 13 | .cfi_def_cfa_register %rbp 14 | movl $0, -4(%rbp) 15 | xorl %eax, %eax 16 | popq %rbp 17 | .cfi_def_cfa %rsp, 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .ident "Debian clang version 14.0.6" 24 | .section ".note.GNU-stack","",@progbits 25 | -------------------------------------------------------------------------------- /asm/clangandllc/main/emptyO2_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .intel_syntax noprefix 3 | .file "empty.c" 4 | .globl main # -- Begin function main 5 | .p2align 4, 0x90 6 | .type main,@function 7 | main: # @main 8 | .cfi_startproc 9 | # %bb.0: 10 | push rbp 11 | .cfi_def_cfa_offset 16 12 | .cfi_offset rbp, -16 13 | mov rbp, rsp 14 | .cfi_def_cfa_register rbp 15 | mov dword ptr [rbp - 4], 0 16 | xor eax, eax 17 | pop rbp 18 | .cfi_def_cfa rsp, 8 19 | ret 20 | .Lfunc_end0: 21 | .size main, .Lfunc_end0-main 22 | .cfi_endproc 23 | # -- End function 24 | .ident "Debian clang version 14.0.6" 25 | .section ".note.GNU-stack","",@progbits 26 | -------------------------------------------------------------------------------- /asm/clangandllc/main/emptyO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "empty.c" 3 | .globl main # -- Begin function main 4 | .p2align 4, 0x90 5 | .type main,@function 6 | main: # @main 7 | .cfi_startproc 8 | # %bb.0: 9 | pushq %rbp 10 | .cfi_def_cfa_offset 16 11 | .cfi_offset %rbp, -16 12 | movq %rsp, %rbp 13 | .cfi_def_cfa_register %rbp 14 | movl $0, -4(%rbp) 15 | xorl %eax, %eax 16 | popq %rbp 17 | .cfi_def_cfa %rsp, 8 18 | retq 19 | .Lfunc_end0: 20 | .size main, .Lfunc_end0-main 21 | .cfi_endproc 22 | # -- End function 23 | .ident "Debian clang version 14.0.6" 24 | .section ".note.GNU-stack","",@progbits 25 | -------------------------------------------------------------------------------- /asm/clangandllc/main/emptyO3_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .intel_syntax noprefix 3 | .file "empty.c" 4 | .globl main # -- Begin function main 5 | .p2align 4, 0x90 6 | .type main,@function 7 | main: # @main 8 | .cfi_startproc 9 | # %bb.0: 10 | push rbp 11 | .cfi_def_cfa_offset 16 12 | .cfi_offset rbp, -16 13 | mov rbp, rsp 14 | .cfi_def_cfa_register rbp 15 | mov dword ptr [rbp - 4], 0 16 | xor eax, eax 17 | pop rbp 18 | .cfi_def_cfa rsp, 8 19 | ret 20 | .Lfunc_end0: 21 | .size main, .Lfunc_end0-main 22 | .cfi_endproc 23 | # -- End function 24 | .ident "Debian clang version 14.0.6" 25 | .section ".note.GNU-stack","",@progbits 26 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdpO0.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | r2 = r1 8 | *(u64 *)(r10 - 8) = r1 9 | r0 = 0 10 | *(u64 *)(r10 - 16) = r2 11 | exit 12 | # -- End function 13 | 14 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdpO0_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | r2 = r1 8 | *(u64 *)(r10 - 8) = r1 9 | r0 = 0 10 | *(u64 *)(r10 - 16) = r2 11 | exit 12 | # -- End function 13 | 14 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdpO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | *(u64 *)(r10 - 8) = r1 8 | r0 = 0 9 | exit 10 | # -- End function 11 | 12 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdpO1_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | *(u64 *)(r10 - 8) = r1 8 | r0 = 0 9 | exit 10 | # -- End function 11 | 12 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdpO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | *(u64 *)(r10 - 8) = r1 8 | r0 = 0 9 | exit 10 | # -- End function 11 | 12 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdpO2_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | *(u64 *)(r10 - 8) = r1 8 | r0 = 0 9 | exit 10 | # -- End function 11 | 12 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdpO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | *(u64 *)(r10 - 8) = r1 8 | r0 = 0 9 | exit 10 | # -- End function 11 | 12 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdpO3_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .section xdp_prog,"ax",@progbits 3 | .globl xdp_prog_main # -- Begin function xdp_prog_main 4 | .p2align 3 5 | xdp_prog_main: # @xdp_prog_main 6 | # %bb.0: 7 | *(u64 *)(r10 - 8) = r1 8 | r0 = 0 9 | exit 10 | # -- End function 11 | 12 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_dropO0.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 1 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_dropO0_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 1 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_dropO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 1 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_dropO1_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 1 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_dropO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 1 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_dropO2_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 1 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_dropO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 1 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_dropO3_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_drop.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 1 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_passO0.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 2 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_passO0_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 2 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_passO1.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 2 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_passO1_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 2 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_passO2.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 2 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_passO2_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 2 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_passO3.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 2 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/main/xdp_simple_passO3_intel.s: -------------------------------------------------------------------------------- 1 | .text 2 | .file "xdp_simple_pass.c" 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main # -- Begin function xdp_prog_main 5 | .p2align 3 6 | .type xdp_prog_main,@function 7 | xdp_prog_main: # @xdp_prog_main 8 | .Lxdp_prog_main$local: 9 | # %bb.0: 10 | *(u64 *)(r10 - 8) = r1 11 | r0 = 2 12 | exit 13 | .Lfunc_end0: 14 | .size xdp_prog_main, .Lfunc_end0-xdp_prog_main 15 | # -- End function 16 | -------------------------------------------------------------------------------- /asm/clangandllc/matchrs.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/matchrs.ll -------------------------------------------------------------------------------- /asm/clangandllc/matchrs_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/matchrs_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/matchstruct.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/matchstruct.ll -------------------------------------------------------------------------------- /asm/clangandllc/matchstruct_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/matchstruct_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/memcpy.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/memcpy.ll -------------------------------------------------------------------------------- /asm/clangandllc/memcpy_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/memcpy_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/nullptr.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/nullptr.ll -------------------------------------------------------------------------------- /asm/clangandllc/nullptr_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/nullptr_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest1_one.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest1_one.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest1_one_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest1_one_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest1_two.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest1_two.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest1_two_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest1_two_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest2_one.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest2_one.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest2_one_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest2_one_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest2_two.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest2_two.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest2_two_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest2_two_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest3_one.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest3_one.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest3_one_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest3_one_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest3_two.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest3_two.ll -------------------------------------------------------------------------------- /asm/clangandllc/perftest3_two_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/perftest3_two_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/pointer.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/pointer.ll -------------------------------------------------------------------------------- /asm/clangandllc/pointer_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/pointer_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/pointer_reassign.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/pointer_reassign.ll -------------------------------------------------------------------------------- /asm/clangandllc/pointer_reassign_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/pointer_reassign_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/print.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/print.ll -------------------------------------------------------------------------------- /asm/clangandllc/print_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/print_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/printf.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/printf.ll -------------------------------------------------------------------------------- /asm/clangandllc/printf_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/printf_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/switch.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/switch.ll -------------------------------------------------------------------------------- /asm/clangandllc/switch_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/switch_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/switch_simple.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/switch_simple.ll -------------------------------------------------------------------------------- /asm/clangandllc/switch_simple_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/switch_simple_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/unroll_not_test.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/unroll_not_test.ll -------------------------------------------------------------------------------- /asm/clangandllc/unroll_not_test_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/unroll_not_test_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/unroll_simple.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/unroll_simple.ll -------------------------------------------------------------------------------- /asm/clangandllc/unroll_simple_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/unroll_simple_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/unroll_simple_not.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/unroll_simple_not.ll -------------------------------------------------------------------------------- /asm/clangandllc/unroll_simple_not_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/unroll_simple_not_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/unroll_test.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/unroll_test.ll -------------------------------------------------------------------------------- /asm/clangandllc/unroll_test_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/unroll_test_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_adjust_head.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_adjust_head.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_adjust_head_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_adjust_head_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_adjust_tail.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_adjust_tail.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_adjust_tail_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_adjust_tail_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_block_port8080.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_block_port8080.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_block_port8080_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_block_port8080_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_cmp_builtin.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_cmp_builtin.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_cmp_builtin_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_cmp_builtin_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_cmp_loop.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_cmp_loop.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_cmp_loop_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_cmp_loop_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_custom_hdr.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_custom_hdr.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_custom_hdr_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_custom_hdr_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_drop_port8080.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_drop_port8080.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_drop_port8080_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_drop_port8080_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_redefine.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_redefine.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_redefine_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_redefine_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_simple_check.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_simple_check.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_simple_check_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_simple_check_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_simple_check_unlikely.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_simple_check_unlikely.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_simple_check_unlikely_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_simple_check_unlikely_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_simple_drop.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_simple_drop.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_simple_drop_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_simple_drop_debug.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_simple_pass.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_simple_pass.ll -------------------------------------------------------------------------------- /asm/clangandllc/xdp_simple_pass_debug.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/clangandllc/xdp_simple_pass_debug.ll -------------------------------------------------------------------------------- /asm/gcc/main/16to64O1.s: -------------------------------------------------------------------------------- 1 | .file "16to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movabsq $8128420497544, %rsi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/16to64O2.s: -------------------------------------------------------------------------------- 1 | .file "16to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420497544, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/16to64O3.s: -------------------------------------------------------------------------------- 1 | .file "16to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420497544, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/32to64O0.s: -------------------------------------------------------------------------------- 1 | .file "32to64.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movl $-1651783544, -16(%rbp) 19 | movl $1892, -12(%rbp) 20 | leaq -16(%rbp), %rax 21 | movq %rax, -8(%rbp) 22 | movq -8(%rbp), %rax 23 | movq (%rax), %rax 24 | movq %rax, %rsi 25 | leaq .LC0(%rip), %rax 26 | movq %rax, %rdi 27 | movl $0, %eax 28 | call printf@PLT 29 | movl $0, %eax 30 | leave 31 | .cfi_def_cfa 7, 8 32 | ret 33 | .cfi_endproc 34 | .LFE0: 35 | .size main, .-main 36 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 37 | .section .note.GNU-stack,"",@progbits 38 | -------------------------------------------------------------------------------- /asm/gcc/main/32to64O1.s: -------------------------------------------------------------------------------- 1 | .file "32to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movabsq $8128721307784, %rsi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/32to64O2.s: -------------------------------------------------------------------------------- 1 | .file "32to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128721307784, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/32to64O3.s: -------------------------------------------------------------------------------- 1 | .file "32to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128721307784, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64O0.s: -------------------------------------------------------------------------------- 1 | .file "64.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movabsq $8128420482184, %rax 19 | movq %rax, -8(%rbp) 20 | movq -8(%rbp), %rax 21 | movq %rax, %rsi 22 | leaq .LC0(%rip), %rax 23 | movq %rax, %rdi 24 | movl $0, %eax 25 | call printf@PLT 26 | movl $0, %eax 27 | leave 28 | .cfi_def_cfa 7, 8 29 | ret 30 | .cfi_endproc 31 | .LFE0: 32 | .size main, .-main 33 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 34 | .section .note.GNU-stack,"",@progbits 35 | -------------------------------------------------------------------------------- /asm/gcc/main/64O1.s: -------------------------------------------------------------------------------- 1 | .file "64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movabsq $8128420482184, %rsi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/64O2.s: -------------------------------------------------------------------------------- 1 | .file "64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64O3.s: -------------------------------------------------------------------------------- 1 | .file "64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64_2O0.s: -------------------------------------------------------------------------------- 1 | .file "64_2.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movabsq $8128420482184, %rax 19 | movq %rax, -16(%rbp) 20 | leaq -16(%rbp), %rax 21 | movq %rax, -8(%rbp) 22 | movq -8(%rbp), %rax 23 | movq (%rax), %rax 24 | movq %rax, %rsi 25 | leaq .LC0(%rip), %rax 26 | movq %rax, %rdi 27 | movl $0, %eax 28 | call printf@PLT 29 | movl $0, %eax 30 | leave 31 | .cfi_def_cfa 7, 8 32 | ret 33 | .cfi_endproc 34 | .LFE0: 35 | .size main, .-main 36 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 37 | .section .note.GNU-stack,"",@progbits 38 | -------------------------------------------------------------------------------- /asm/gcc/main/64_2O1.s: -------------------------------------------------------------------------------- 1 | .file "64_2.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movabsq $8128420482184, %rsi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/64_2O2.s: -------------------------------------------------------------------------------- 1 | .file "64_2.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64_2O3.s: -------------------------------------------------------------------------------- 1 | .file "64_2.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64to16O1.s: -------------------------------------------------------------------------------- 1 | .file "64to16.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movabsq $8128420482184, %rsi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/64to16O2.s: -------------------------------------------------------------------------------- 1 | .file "64to16.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64to16O3.s: -------------------------------------------------------------------------------- 1 | .file "64to16.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64to32O1.s: -------------------------------------------------------------------------------- 1 | .file "64to32.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movabsq $8128420482184, %rsi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/64to32O2.s: -------------------------------------------------------------------------------- 1 | .file "64to32.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64to32O3.s: -------------------------------------------------------------------------------- 1 | .file "64to32.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64to8O1.s: -------------------------------------------------------------------------------- 1 | .file "64to8.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movabsq $8128420482184, %rsi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/64to8O2.s: -------------------------------------------------------------------------------- 1 | .file "64to8.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/64to8O3.s: -------------------------------------------------------------------------------- 1 | .file "64to8.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/8to64O0.s: -------------------------------------------------------------------------------- 1 | .file "8to64.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movabsq $8128420482184, %rax 19 | movq %rax, -16(%rbp) 20 | leaq -16(%rbp), %rax 21 | movq %rax, -8(%rbp) 22 | movq -8(%rbp), %rax 23 | movq (%rax), %rax 24 | movq %rax, %rsi 25 | leaq .LC0(%rip), %rax 26 | movq %rax, %rdi 27 | movl $0, %eax 28 | call printf@PLT 29 | movl $0, %eax 30 | leave 31 | .cfi_def_cfa 7, 8 32 | ret 33 | .cfi_endproc 34 | .LFE0: 35 | .size main, .-main 36 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 37 | .section .note.GNU-stack,"",@progbits 38 | -------------------------------------------------------------------------------- /asm/gcc/main/8to64O1.s: -------------------------------------------------------------------------------- 1 | .file "8to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movabsq $8128420482184, %rsi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/8to64O2.s: -------------------------------------------------------------------------------- 1 | .file "8to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/8to64O3.s: -------------------------------------------------------------------------------- 1 | .file "8to64.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %llu.\n." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | xorl %eax, %eax 17 | movabsq $8128420482184, %rsi 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/emptyO0.s: -------------------------------------------------------------------------------- 1 | .file "empty.c" 2 | .text 3 | .globl main 4 | .type main, @function 5 | main: 6 | .LFB0: 7 | .cfi_startproc 8 | pushq %rbp 9 | .cfi_def_cfa_offset 16 10 | .cfi_offset 6, -16 11 | movq %rsp, %rbp 12 | .cfi_def_cfa_register 6 13 | movl $0, %eax 14 | popq %rbp 15 | .cfi_def_cfa 7, 8 16 | ret 17 | .cfi_endproc 18 | .LFE0: 19 | .size main, .-main 20 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 21 | .section .note.GNU-stack,"",@progbits 22 | -------------------------------------------------------------------------------- /asm/gcc/main/emptyO1.s: -------------------------------------------------------------------------------- 1 | .file "empty.c" 2 | .text 3 | .globl main 4 | .type main, @function 5 | main: 6 | .LFB0: 7 | .cfi_startproc 8 | movl $0, %eax 9 | ret 10 | .cfi_endproc 11 | .LFE0: 12 | .size main, .-main 13 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 14 | .section .note.GNU-stack,"",@progbits 15 | -------------------------------------------------------------------------------- /asm/gcc/main/emptyO2.s: -------------------------------------------------------------------------------- 1 | .file "empty.c" 2 | .text 3 | .section .text.startup,"ax",@progbits 4 | .p2align 4 5 | .globl main 6 | .type main, @function 7 | main: 8 | .LFB0: 9 | .cfi_startproc 10 | xorl %eax, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE0: 14 | .size main, .-main 15 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 16 | .section .note.GNU-stack,"",@progbits 17 | -------------------------------------------------------------------------------- /asm/gcc/main/emptyO3.s: -------------------------------------------------------------------------------- 1 | .file "empty.c" 2 | .text 3 | .section .text.startup,"ax",@progbits 4 | .p2align 4 5 | .globl main 6 | .type main, @function 7 | main: 8 | .LFB0: 9 | .cfi_startproc 10 | xorl %eax, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE0: 14 | .size main, .-main 15 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 16 | .section .note.GNU-stack,"",@progbits 17 | -------------------------------------------------------------------------------- /asm/gcc/main/forloopO1.s: -------------------------------------------------------------------------------- 1 | .file "forloop.c" 2 | .text 3 | .globl main 4 | .type main, @function 5 | main: 6 | .LFB11: 7 | .cfi_startproc 8 | movl $0, %eax 9 | ret 10 | .cfi_endproc 11 | .LFE11: 12 | .size main, .-main 13 | .globl bytes 14 | .section .rodata 15 | .align 8 16 | .type bytes, @object 17 | .size bytes, 8 18 | bytes: 19 | .string "" 20 | .ascii "\377\377\377U\023T\006" 21 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 22 | .section .note.GNU-stack,"",@progbits 23 | -------------------------------------------------------------------------------- /asm/gcc/main/forloopO2.s: -------------------------------------------------------------------------------- 1 | .file "forloop.c" 2 | .text 3 | .section .text.startup,"ax",@progbits 4 | .p2align 4 5 | .globl main 6 | .type main, @function 7 | main: 8 | .LFB11: 9 | .cfi_startproc 10 | xorl %eax, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE11: 14 | .size main, .-main 15 | .globl bytes 16 | .section .rodata 17 | .align 8 18 | .type bytes, @object 19 | .size bytes, 8 20 | bytes: 21 | .string "" 22 | .ascii "\377\377\377U\023T\006" 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/forloopO3.s: -------------------------------------------------------------------------------- 1 | .file "forloop.c" 2 | .text 3 | .section .text.startup,"ax",@progbits 4 | .p2align 4 5 | .globl main 6 | .type main, @function 7 | main: 8 | .LFB11: 9 | .cfi_startproc 10 | xorl %eax, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE11: 14 | .size main, .-main 15 | .globl bytes 16 | .section .rodata 17 | .align 8 18 | .type bytes, @object 19 | .size bytes, 8 20 | bytes: 21 | .string "" 22 | .ascii "\377\377\377U\023T\006" 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/fprintfO0.s: -------------------------------------------------------------------------------- 1 | .file "fprintf.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "This is a test.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | movq stdout(%rip), %rax 18 | movq %rax, %rcx 19 | movl $16, %edx 20 | movl $1, %esi 21 | leaq .LC0(%rip), %rax 22 | movq %rax, %rdi 23 | call fwrite@PLT 24 | movl $0, %eax 25 | popq %rbp 26 | .cfi_def_cfa 7, 8 27 | ret 28 | .cfi_endproc 29 | .LFE0: 30 | .size main, .-main 31 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 32 | .section .note.GNU-stack,"",@progbits 33 | -------------------------------------------------------------------------------- /asm/gcc/main/fprintfO1.s: -------------------------------------------------------------------------------- 1 | .file "fprintf.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "This is a test.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movq stdout(%rip), %rcx 15 | movl $16, %edx 16 | movl $1, %esi 17 | leaq .LC0(%rip), %rdi 18 | call fwrite@PLT 19 | movl $0, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/fprintfO2.s: -------------------------------------------------------------------------------- 1 | .file "fprintf.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "This is a test.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movq stdout(%rip), %rcx 16 | movl $16, %edx 17 | movl $1, %esi 18 | leaq .LC0(%rip), %rdi 19 | call fwrite@PLT 20 | xorl %eax, %eax 21 | addq $8, %rsp 22 | .cfi_def_cfa_offset 8 23 | ret 24 | .cfi_endproc 25 | .LFE11: 26 | .size main, .-main 27 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 28 | .section .note.GNU-stack,"",@progbits 29 | -------------------------------------------------------------------------------- /asm/gcc/main/fprintfO3.s: -------------------------------------------------------------------------------- 1 | .file "fprintf.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "This is a test.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movq stdout(%rip), %rcx 16 | movl $16, %edx 17 | movl $1, %esi 18 | leaq .LC0(%rip), %rdi 19 | call fwrite@PLT 20 | xorl %eax, %eax 21 | addq $8, %rsp 22 | .cfi_def_cfa_offset 8 23 | ret 24 | .cfi_endproc 25 | .LFE11: 26 | .size main, .-main 27 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 28 | .section .note.GNU-stack,"",@progbits 29 | -------------------------------------------------------------------------------- /asm/gcc/main/ifO1.s: -------------------------------------------------------------------------------- 1 | .file "if.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "case #5" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | leaq .LC0(%rip), %rdi 15 | call puts@PLT 16 | movl $0, %eax 17 | addq $8, %rsp 18 | .cfi_def_cfa_offset 8 19 | ret 20 | .cfi_endproc 21 | .LFE11: 22 | .size main, .-main 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/ifO2.s: -------------------------------------------------------------------------------- 1 | .file "if.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "case #5" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/ifO3.s: -------------------------------------------------------------------------------- 1 | .file "if.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "case #5" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/if_simpleO0.s: -------------------------------------------------------------------------------- 1 | .file "if_simple.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "i is 5." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movl $5, -4(%rbp) 19 | cmpl $5, -4(%rbp) 20 | jne .L2 21 | leaq .LC0(%rip), %rax 22 | movq %rax, %rdi 23 | call puts@PLT 24 | .L2: 25 | movl $0, %eax 26 | leave 27 | .cfi_def_cfa 7, 8 28 | ret 29 | .cfi_endproc 30 | .LFE0: 31 | .size main, .-main 32 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 33 | .section .note.GNU-stack,"",@progbits 34 | -------------------------------------------------------------------------------- /asm/gcc/main/if_simpleO1.s: -------------------------------------------------------------------------------- 1 | .file "if_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i is 5." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | leaq .LC0(%rip), %rdi 15 | call puts@PLT 16 | movl $0, %eax 17 | addq $8, %rsp 18 | .cfi_def_cfa_offset 8 19 | ret 20 | .cfi_endproc 21 | .LFE11: 22 | .size main, .-main 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/if_simpleO2.s: -------------------------------------------------------------------------------- 1 | .file "if_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i is 5." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/if_simpleO3.s: -------------------------------------------------------------------------------- 1 | .file "if_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i is 5." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/matchrsO0.s: -------------------------------------------------------------------------------- 1 | .file "matchrs.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "Flags set correctly!" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movl $0, -4(%rbp) 19 | orl $1, -4(%rbp) 20 | orl $2, -4(%rbp) 21 | orl $4, -4(%rbp) 22 | movl -4(%rbp), %eax 23 | andl $7, %eax 24 | cmpl $7, %eax 25 | jne .L2 26 | leaq .LC0(%rip), %rax 27 | movq %rax, %rdi 28 | call puts@PLT 29 | .L2: 30 | movl $0, %eax 31 | leave 32 | .cfi_def_cfa 7, 8 33 | ret 34 | .cfi_endproc 35 | .LFE0: 36 | .size main, .-main 37 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 38 | .section .note.GNU-stack,"",@progbits 39 | -------------------------------------------------------------------------------- /asm/gcc/main/matchrsO1.s: -------------------------------------------------------------------------------- 1 | .file "matchrs.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Flags set correctly!" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | leaq .LC0(%rip), %rdi 15 | call puts@PLT 16 | movl $0, %eax 17 | addq $8, %rsp 18 | .cfi_def_cfa_offset 8 19 | ret 20 | .cfi_endproc 21 | .LFE11: 22 | .size main, .-main 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/matchrsO2.s: -------------------------------------------------------------------------------- 1 | .file "matchrs.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Flags set correctly!" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/matchrsO3.s: -------------------------------------------------------------------------------- 1 | .file "matchrs.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Flags set correctly!" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/matchstructO1.s: -------------------------------------------------------------------------------- 1 | .file "matchstruct.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Flags set correctly!" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | leaq .LC0(%rip), %rdi 15 | call puts@PLT 16 | movl $0, %eax 17 | addq $8, %rsp 18 | .cfi_def_cfa_offset 8 19 | ret 20 | .cfi_endproc 21 | .LFE11: 22 | .size main, .-main 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/matchstructO2.s: -------------------------------------------------------------------------------- 1 | .file "matchstruct.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Flags set correctly!" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/matchstructO3.s: -------------------------------------------------------------------------------- 1 | .file "matchstruct.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Flags set correctly!" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/memcpyO0.s: -------------------------------------------------------------------------------- 1 | .file "memcpy.c" 2 | .text 3 | .globl bytes 4 | .section .rodata 5 | .align 8 6 | .type bytes, @object 7 | .size bytes, 8 8 | bytes: 9 | .string "" 10 | .ascii "\377\377\377U\023T\006" 11 | .text 12 | .globl main 13 | .type main, @function 14 | main: 15 | .LFB0: 16 | .cfi_startproc 17 | pushq %rbp 18 | .cfi_def_cfa_offset 16 19 | .cfi_offset 6, -16 20 | movq %rsp, %rbp 21 | .cfi_def_cfa_register 6 22 | movq bytes(%rip), %rax 23 | movq %rax, -8(%rbp) 24 | movl $0, %eax 25 | popq %rbp 26 | .cfi_def_cfa 7, 8 27 | ret 28 | .cfi_endproc 29 | .LFE0: 30 | .size main, .-main 31 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 32 | .section .note.GNU-stack,"",@progbits 33 | -------------------------------------------------------------------------------- /asm/gcc/main/memcpyO1.s: -------------------------------------------------------------------------------- 1 | .file "memcpy.c" 2 | .text 3 | .globl main 4 | .type main, @function 5 | main: 6 | .LFB11: 7 | .cfi_startproc 8 | movl $0, %eax 9 | ret 10 | .cfi_endproc 11 | .LFE11: 12 | .size main, .-main 13 | .globl bytes 14 | .section .rodata 15 | .align 8 16 | .type bytes, @object 17 | .size bytes, 8 18 | bytes: 19 | .string "" 20 | .ascii "\377\377\377U\023T\006" 21 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 22 | .section .note.GNU-stack,"",@progbits 23 | -------------------------------------------------------------------------------- /asm/gcc/main/memcpyO2.s: -------------------------------------------------------------------------------- 1 | .file "memcpy.c" 2 | .text 3 | .section .text.startup,"ax",@progbits 4 | .p2align 4 5 | .globl main 6 | .type main, @function 7 | main: 8 | .LFB11: 9 | .cfi_startproc 10 | xorl %eax, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE11: 14 | .size main, .-main 15 | .globl bytes 16 | .section .rodata 17 | .align 8 18 | .type bytes, @object 19 | .size bytes, 8 20 | bytes: 21 | .string "" 22 | .ascii "\377\377\377U\023T\006" 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/memcpyO3.s: -------------------------------------------------------------------------------- 1 | .file "memcpy.c" 2 | .text 3 | .section .text.startup,"ax",@progbits 4 | .p2align 4 5 | .globl main 6 | .type main, @function 7 | main: 8 | .LFB11: 9 | .cfi_startproc 10 | xorl %eax, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE11: 14 | .size main, .-main 15 | .globl bytes 16 | .section .rodata 17 | .align 8 18 | .type bytes, @object 19 | .size bytes, 8 20 | bytes: 21 | .string "" 22 | .ascii "\377\377\377U\023T\006" 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/nullptrO0.s: -------------------------------------------------------------------------------- 1 | .file "nullptr.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "%d is i.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movq $0, -8(%rbp) 19 | cmpq $0, -8(%rbp) 20 | je .L2 21 | movq -8(%rbp), %rax 22 | movl (%rax), %eax 23 | jmp .L3 24 | .L2: 25 | movl $0, %eax 26 | .L3: 27 | movq stdout(%rip), %rcx 28 | movl %eax, %edx 29 | leaq .LC0(%rip), %rax 30 | movq %rax, %rsi 31 | movq %rcx, %rdi 32 | movl $0, %eax 33 | call fprintf@PLT 34 | movl $0, %eax 35 | leave 36 | .cfi_def_cfa 7, 8 37 | ret 38 | .cfi_endproc 39 | .LFE0: 40 | .size main, .-main 41 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 42 | .section .note.GNU-stack,"",@progbits 43 | -------------------------------------------------------------------------------- /asm/gcc/main/nullptrO1.s: -------------------------------------------------------------------------------- 1 | .file "nullptr.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "%d is i.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $0, %edx 15 | leaq .LC0(%rip), %rsi 16 | movq stdout(%rip), %rdi 17 | movl $0, %eax 18 | call fprintf@PLT 19 | movl $0, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/nullptrO2.s: -------------------------------------------------------------------------------- 1 | .file "nullptr.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "%d is i.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movq stdout(%rip), %rdi 16 | xorl %edx, %edx 17 | xorl %eax, %eax 18 | leaq .LC0(%rip), %rsi 19 | call fprintf@PLT 20 | xorl %eax, %eax 21 | addq $8, %rsp 22 | .cfi_def_cfa_offset 8 23 | ret 24 | .cfi_endproc 25 | .LFE11: 26 | .size main, .-main 27 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 28 | .section .note.GNU-stack,"",@progbits 29 | -------------------------------------------------------------------------------- /asm/gcc/main/nullptrO3.s: -------------------------------------------------------------------------------- 1 | .file "nullptr.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "%d is i.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movq stdout(%rip), %rdi 16 | xorl %edx, %edx 17 | xorl %eax, %eax 18 | leaq .LC0(%rip), %rsi 19 | call fprintf@PLT 20 | xorl %eax, %eax 21 | addq $8, %rsp 22 | .cfi_def_cfa_offset 8 23 | ret 24 | .cfi_endproc 25 | .LFE11: 26 | .size main, .-main 27 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 28 | .section .note.GNU-stack,"",@progbits 29 | -------------------------------------------------------------------------------- /asm/gcc/main/perftest1_oneO1.s: -------------------------------------------------------------------------------- 1 | .file "perftest1_one.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $3, %esi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/perftest1_oneO2.s: -------------------------------------------------------------------------------- 1 | .file "perftest1_one.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $3, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/perftest1_oneO3.s: -------------------------------------------------------------------------------- 1 | .file "perftest1_one.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $3, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/perftest1_twoO1.s: -------------------------------------------------------------------------------- 1 | .file "perftest1_two.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $3, %esi 15 | leaq .LC0(%rip), %rdi 16 | movl $0, %eax 17 | call printf@PLT 18 | movl $0, %eax 19 | addq $8, %rsp 20 | .cfi_def_cfa_offset 8 21 | ret 22 | .cfi_endproc 23 | .LFE11: 24 | .size main, .-main 25 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 26 | .section .note.GNU-stack,"",@progbits 27 | -------------------------------------------------------------------------------- /asm/gcc/main/perftest1_twoO2.s: -------------------------------------------------------------------------------- 1 | .file "perftest1_two.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $3, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/perftest1_twoO3.s: -------------------------------------------------------------------------------- 1 | .file "perftest1_two.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "Value is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $3, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/pointerO0.s: -------------------------------------------------------------------------------- 1 | .file "pointer.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "i = %d. x = %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movl $1, -12(%rbp) 19 | leaq -12(%rbp), %rax 20 | movq %rax, -8(%rbp) 21 | movq -8(%rbp), %rax 22 | movl (%rax), %ecx 23 | movl -12(%rbp), %edx 24 | movq stdout(%rip), %rax 25 | leaq .LC0(%rip), %rsi 26 | movq %rax, %rdi 27 | movl $0, %eax 28 | call fprintf@PLT 29 | movl $0, %eax 30 | leave 31 | .cfi_def_cfa 7, 8 32 | ret 33 | .cfi_endproc 34 | .LFE0: 35 | .size main, .-main 36 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 37 | .section .note.GNU-stack,"",@progbits 38 | -------------------------------------------------------------------------------- /asm/gcc/main/pointerO1.s: -------------------------------------------------------------------------------- 1 | .file "pointer.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i = %d. x = %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $1, %ecx 15 | movl $1, %edx 16 | leaq .LC0(%rip), %rsi 17 | movq stdout(%rip), %rdi 18 | movl $0, %eax 19 | call fprintf@PLT 20 | movl $0, %eax 21 | addq $8, %rsp 22 | .cfi_def_cfa_offset 8 23 | ret 24 | .cfi_endproc 25 | .LFE11: 26 | .size main, .-main 27 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 28 | .section .note.GNU-stack,"",@progbits 29 | -------------------------------------------------------------------------------- /asm/gcc/main/pointerO2.s: -------------------------------------------------------------------------------- 1 | .file "pointer.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i = %d. x = %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $1, %ecx 16 | movl $1, %edx 17 | xorl %eax, %eax 18 | movq stdout(%rip), %rdi 19 | leaq .LC0(%rip), %rsi 20 | call fprintf@PLT 21 | xorl %eax, %eax 22 | addq $8, %rsp 23 | .cfi_def_cfa_offset 8 24 | ret 25 | .cfi_endproc 26 | .LFE11: 27 | .size main, .-main 28 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 29 | .section .note.GNU-stack,"",@progbits 30 | -------------------------------------------------------------------------------- /asm/gcc/main/pointerO3.s: -------------------------------------------------------------------------------- 1 | .file "pointer.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i = %d. x = %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $1, %ecx 16 | movl $1, %edx 17 | xorl %eax, %eax 18 | movq stdout(%rip), %rdi 19 | leaq .LC0(%rip), %rsi 20 | call fprintf@PLT 21 | xorl %eax, %eax 22 | addq $8, %rsp 23 | .cfi_def_cfa_offset 8 24 | ret 25 | .cfi_endproc 26 | .LFE11: 27 | .size main, .-main 28 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 29 | .section .note.GNU-stack,"",@progbits 30 | -------------------------------------------------------------------------------- /asm/gcc/main/pointer_reassignO1.s: -------------------------------------------------------------------------------- 1 | .file "pointer_reassign.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i = %d. x = %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $1, %ecx 15 | movl $1, %edx 16 | leaq .LC0(%rip), %rsi 17 | movq stdout(%rip), %rdi 18 | movl $0, %eax 19 | call fprintf@PLT 20 | movl $0, %eax 21 | addq $8, %rsp 22 | .cfi_def_cfa_offset 8 23 | ret 24 | .cfi_endproc 25 | .LFE11: 26 | .size main, .-main 27 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 28 | .section .note.GNU-stack,"",@progbits 29 | -------------------------------------------------------------------------------- /asm/gcc/main/pointer_reassignO2.s: -------------------------------------------------------------------------------- 1 | .file "pointer_reassign.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i = %d. x = %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $1, %ecx 16 | movl $1, %edx 17 | xorl %eax, %eax 18 | movq stdout(%rip), %rdi 19 | leaq .LC0(%rip), %rsi 20 | call fprintf@PLT 21 | xorl %eax, %eax 22 | addq $8, %rsp 23 | .cfi_def_cfa_offset 8 24 | ret 25 | .cfi_endproc 26 | .LFE11: 27 | .size main, .-main 28 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 29 | .section .note.GNU-stack,"",@progbits 30 | -------------------------------------------------------------------------------- /asm/gcc/main/pointer_reassignO3.s: -------------------------------------------------------------------------------- 1 | .file "pointer_reassign.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i = %d. x = %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $1, %ecx 16 | movl $1, %edx 17 | xorl %eax, %eax 18 | movq stdout(%rip), %rdi 19 | leaq .LC0(%rip), %rsi 20 | call fprintf@PLT 21 | xorl %eax, %eax 22 | addq $8, %rsp 23 | .cfi_def_cfa_offset 8 24 | ret 25 | .cfi_endproc 26 | .LFE11: 27 | .size main, .-main 28 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 29 | .section .note.GNU-stack,"",@progbits 30 | -------------------------------------------------------------------------------- /asm/gcc/main/printO1.s: -------------------------------------------------------------------------------- 1 | .file "print.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "HELLO\n" 6 | .LC1: 7 | .string "New message => %s\n" 8 | .text 9 | .globl main 10 | .type main, @function 11 | main: 12 | .LFB11: 13 | .cfi_startproc 14 | subq $24, %rsp 15 | .cfi_def_cfa_offset 32 16 | movq stdout(%rip), %rcx 17 | movl $6, %edx 18 | movl $1, %esi 19 | leaq .LC0(%rip), %rdi 20 | call fwrite@PLT 21 | movl $1280066888, 9(%rsp) 22 | movl $675660, 12(%rsp) 23 | leaq 9(%rsp), %rdx 24 | leaq .LC1(%rip), %rsi 25 | movq stderr(%rip), %rdi 26 | movl $0, %eax 27 | call fprintf@PLT 28 | movl $0, %eax 29 | addq $24, %rsp 30 | .cfi_def_cfa_offset 8 31 | ret 32 | .cfi_endproc 33 | .LFE11: 34 | .size main, .-main 35 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 36 | .section .note.GNU-stack,"",@progbits 37 | -------------------------------------------------------------------------------- /asm/gcc/main/printfO0.s: -------------------------------------------------------------------------------- 1 | .file "printf.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "This is a test." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | leaq .LC0(%rip), %rax 18 | movq %rax, %rdi 19 | call puts@PLT 20 | movl $0, %eax 21 | popq %rbp 22 | .cfi_def_cfa 7, 8 23 | ret 24 | .cfi_endproc 25 | .LFE0: 26 | .size main, .-main 27 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 28 | .section .note.GNU-stack,"",@progbits 29 | -------------------------------------------------------------------------------- /asm/gcc/main/printfO1.s: -------------------------------------------------------------------------------- 1 | .file "printf.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "This is a test." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | leaq .LC0(%rip), %rdi 15 | call puts@PLT 16 | movl $0, %eax 17 | addq $8, %rsp 18 | .cfi_def_cfa_offset 8 19 | ret 20 | .cfi_endproc 21 | .LFE11: 22 | .size main, .-main 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/printfO2.s: -------------------------------------------------------------------------------- 1 | .file "printf.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "This is a test." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/printfO3.s: -------------------------------------------------------------------------------- 1 | .file "printf.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "This is a test." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/switchO1.s: -------------------------------------------------------------------------------- 1 | .file "switch.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "case #5" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | leaq .LC0(%rip), %rdi 15 | call puts@PLT 16 | movl $0, %eax 17 | addq $8, %rsp 18 | .cfi_def_cfa_offset 8 19 | ret 20 | .cfi_endproc 21 | .LFE11: 22 | .size main, .-main 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/switchO2.s: -------------------------------------------------------------------------------- 1 | .file "switch.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "case #5" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/switchO3.s: -------------------------------------------------------------------------------- 1 | .file "switch.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "case #5" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/switch_simpleO0.s: -------------------------------------------------------------------------------- 1 | .file "switch_simple.c" 2 | .text 3 | .section .rodata 4 | .LC0: 5 | .string "i is 5." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB0: 11 | .cfi_startproc 12 | pushq %rbp 13 | .cfi_def_cfa_offset 16 14 | .cfi_offset 6, -16 15 | movq %rsp, %rbp 16 | .cfi_def_cfa_register 6 17 | subq $16, %rsp 18 | movl $5, -4(%rbp) 19 | cmpl $5, -4(%rbp) 20 | jne .L2 21 | leaq .LC0(%rip), %rax 22 | movq %rax, %rdi 23 | call puts@PLT 24 | nop 25 | .L2: 26 | movl $0, %eax 27 | leave 28 | .cfi_def_cfa 7, 8 29 | ret 30 | .cfi_endproc 31 | .LFE0: 32 | .size main, .-main 33 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 34 | .section .note.GNU-stack,"",@progbits 35 | -------------------------------------------------------------------------------- /asm/gcc/main/switch_simpleO1.s: -------------------------------------------------------------------------------- 1 | .file "switch_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i is 5." 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | leaq .LC0(%rip), %rdi 15 | call puts@PLT 16 | movl $0, %eax 17 | addq $8, %rsp 18 | .cfi_def_cfa_offset 8 19 | ret 20 | .cfi_endproc 21 | .LFE11: 22 | .size main, .-main 23 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 24 | .section .note.GNU-stack,"",@progbits 25 | -------------------------------------------------------------------------------- /asm/gcc/main/switch_simpleO2.s: -------------------------------------------------------------------------------- 1 | .file "switch_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i is 5." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/switch_simpleO3.s: -------------------------------------------------------------------------------- 1 | .file "switch_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "i is 5." 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | leaq .LC0(%rip), %rdi 16 | call puts@PLT 17 | xorl %eax, %eax 18 | addq $8, %rsp 19 | .cfi_def_cfa_offset 8 20 | ret 21 | .cfi_endproc 22 | .LFE11: 23 | .size main, .-main 24 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 25 | .section .note.GNU-stack,"",@progbits 26 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_not_testO1.s: -------------------------------------------------------------------------------- 1 | .file "unroll_not_test.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "I is %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $256, %eax 15 | .L2: 16 | subl $1, %eax 17 | jne .L2 18 | movl $65280, %esi 19 | leaq .LC0(%rip), %rdi 20 | movl $0, %eax 21 | call printf@PLT 22 | movl $0, %eax 23 | addq $8, %rsp 24 | .cfi_def_cfa_offset 8 25 | ret 26 | .cfi_endproc 27 | .LFE11: 28 | .size main, .-main 29 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 30 | .section .note.GNU-stack,"",@progbits 31 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_not_testO2.s: -------------------------------------------------------------------------------- 1 | .file "unroll_not_test.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "I is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $65280, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_not_testO3.s: -------------------------------------------------------------------------------- 1 | .file "unroll_not_test.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "I is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $65280, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_simpleO1.s: -------------------------------------------------------------------------------- 1 | .file "unroll_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "X is %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $100, %eax 15 | .L2: 16 | subl $1, %eax 17 | jne .L2 18 | movl $24750, %esi 19 | leaq .LC0(%rip), %rdi 20 | movl $0, %eax 21 | call printf@PLT 22 | movl $0, %eax 23 | addq $8, %rsp 24 | .cfi_def_cfa_offset 8 25 | ret 26 | .cfi_endproc 27 | .LFE11: 28 | .size main, .-main 29 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 30 | .section .note.GNU-stack,"",@progbits 31 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_simpleO2.s: -------------------------------------------------------------------------------- 1 | .file "unroll_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "X is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $24750, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_simpleO3.s: -------------------------------------------------------------------------------- 1 | .file "unroll_simple.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "X is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $24750, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_simple_notO1.s: -------------------------------------------------------------------------------- 1 | .file "unroll_simple_not.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "X is %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $100, %eax 15 | .L2: 16 | subl $1, %eax 17 | jne .L2 18 | movl $24750, %esi 19 | leaq .LC0(%rip), %rdi 20 | movl $0, %eax 21 | call printf@PLT 22 | movl $0, %eax 23 | addq $8, %rsp 24 | .cfi_def_cfa_offset 8 25 | ret 26 | .cfi_endproc 27 | .LFE11: 28 | .size main, .-main 29 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 30 | .section .note.GNU-stack,"",@progbits 31 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_simple_notO2.s: -------------------------------------------------------------------------------- 1 | .file "unroll_simple_not.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "X is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $24750, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_simple_notO3.s: -------------------------------------------------------------------------------- 1 | .file "unroll_simple_not.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "X is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $24750, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_testO1.s: -------------------------------------------------------------------------------- 1 | .file "unroll_test.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "I is %d.\n" 6 | .text 7 | .globl main 8 | .type main, @function 9 | main: 10 | .LFB11: 11 | .cfi_startproc 12 | subq $8, %rsp 13 | .cfi_def_cfa_offset 16 14 | movl $256, %eax 15 | .L2: 16 | subl $1, %eax 17 | jne .L2 18 | movl $65280, %esi 19 | leaq .LC0(%rip), %rdi 20 | movl $0, %eax 21 | call printf@PLT 22 | movl $0, %eax 23 | addq $8, %rsp 24 | .cfi_def_cfa_offset 8 25 | ret 26 | .cfi_endproc 27 | .LFE11: 28 | .size main, .-main 29 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 30 | .section .note.GNU-stack,"",@progbits 31 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_testO2.s: -------------------------------------------------------------------------------- 1 | .file "unroll_test.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "I is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $65280, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/unroll_testO3.s: -------------------------------------------------------------------------------- 1 | .file "unroll_test.c" 2 | .text 3 | .section .rodata.str1.1,"aMS",@progbits,1 4 | .LC0: 5 | .string "I is %d.\n" 6 | .section .text.startup,"ax",@progbits 7 | .p2align 4 8 | .globl main 9 | .type main, @function 10 | main: 11 | .LFB11: 12 | .cfi_startproc 13 | subq $8, %rsp 14 | .cfi_def_cfa_offset 16 15 | movl $65280, %esi 16 | leaq .LC0(%rip), %rdi 17 | xorl %eax, %eax 18 | call printf@PLT 19 | xorl %eax, %eax 20 | addq $8, %rsp 21 | .cfi_def_cfa_offset 8 22 | ret 23 | .cfi_endproc 24 | .LFE11: 25 | .size main, .-main 26 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 27 | .section .note.GNU-stack,"",@progbits 28 | -------------------------------------------------------------------------------- /asm/gcc/main/xdpO0.s: -------------------------------------------------------------------------------- 1 | .file "xdp.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB0: 8 | .cfi_startproc 9 | pushq %rbp 10 | .cfi_def_cfa_offset 16 11 | .cfi_offset 6, -16 12 | movq %rsp, %rbp 13 | .cfi_def_cfa_register 6 14 | movq %rdi, -8(%rbp) 15 | movl $0, %eax 16 | popq %rbp 17 | .cfi_def_cfa 7, 8 18 | ret 19 | .cfi_endproc 20 | .LFE0: 21 | .size xdp_prog_main, .-xdp_prog_main 22 | .ident "GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0" 23 | .section .note.GNU-stack,"",@progbits 24 | -------------------------------------------------------------------------------- /asm/gcc/main/xdpO1.s: -------------------------------------------------------------------------------- 1 | .file "xdp.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB0: 8 | .cfi_startproc 9 | movl $0, %eax 10 | ret 11 | .cfi_endproc 12 | .LFE0: 13 | .size xdp_prog_main, .-xdp_prog_main 14 | .ident "GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0" 15 | .section .note.GNU-stack,"",@progbits 16 | -------------------------------------------------------------------------------- /asm/gcc/main/xdpO2.s: -------------------------------------------------------------------------------- 1 | .file "xdp.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4,,15 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB0: 9 | .cfi_startproc 10 | xorl %eax, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE0: 14 | .size xdp_prog_main, .-xdp_prog_main 15 | .ident "GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0" 16 | .section .note.GNU-stack,"",@progbits 17 | -------------------------------------------------------------------------------- /asm/gcc/main/xdpO3.s: -------------------------------------------------------------------------------- 1 | .file "xdp.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4,,15 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB0: 9 | .cfi_startproc 10 | xorl %eax, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE0: 14 | .size xdp_prog_main, .-xdp_prog_main 15 | .ident "GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0" 16 | .section .note.GNU-stack,"",@progbits 17 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_drop_port8080O1.s: -------------------------------------------------------------------------------- 1 | .file "xdp_drop_port8080.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB30: 8 | .cfi_startproc 9 | movl (%rdi), %edx 10 | movl 4(%rdi), %ecx 11 | leaq 14(%rdx), %rsi 12 | movl $1, %eax 13 | cmpq %rsi, %rcx 14 | jb .L1 15 | leaq 34(%rdx), %rsi 16 | cmpq %rsi, %rcx 17 | jb .L1 18 | movzbl 14(%rdx), %eax 19 | andl $15, %eax 20 | leaq 14(%rdx,%rax,4), %rdx 21 | leaq 20(%rdx), %rsi 22 | movl $1, %eax 23 | cmpq %rsi, %rcx 24 | jb .L1 25 | cmpw $-28641, 2(%rdx) 26 | setne %al 27 | movzbl %al, %eax 28 | addl $1, %eax 29 | .L1: 30 | ret 31 | .cfi_endproc 32 | .LFE30: 33 | .size xdp_prog_main, .-xdp_prog_main 34 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 35 | .section .note.GNU-stack,"",@progbits 36 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_drop_port8080O2.s: -------------------------------------------------------------------------------- 1 | .file "xdp_drop_port8080.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB30: 9 | .cfi_startproc 10 | movl (%rdi), %eax 11 | movl 4(%rdi), %edx 12 | movl $1, %ecx 13 | leaq 14(%rax), %rsi 14 | cmpq %rsi, %rdx 15 | jb .L1 16 | leaq 34(%rax), %rsi 17 | cmpq %rsi, %rdx 18 | jb .L1 19 | movzbl 14(%rax), %esi 20 | andl $15, %esi 21 | leaq 14(%rax,%rsi,4), %rax 22 | leaq 20(%rax), %rsi 23 | cmpq %rsi, %rdx 24 | jb .L1 25 | xorl %ecx, %ecx 26 | cmpw $-28641, 2(%rax) 27 | setne %cl 28 | addl $1, %ecx 29 | .L1: 30 | movl %ecx, %eax 31 | ret 32 | .cfi_endproc 33 | .LFE30: 34 | .size xdp_prog_main, .-xdp_prog_main 35 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 36 | .section .note.GNU-stack,"",@progbits 37 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_drop_port8080O3.s: -------------------------------------------------------------------------------- 1 | .file "xdp_drop_port8080.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB30: 9 | .cfi_startproc 10 | movl (%rdi), %eax 11 | movl 4(%rdi), %edx 12 | movl $1, %ecx 13 | leaq 14(%rax), %rsi 14 | cmpq %rsi, %rdx 15 | jb .L1 16 | leaq 34(%rax), %rsi 17 | cmpq %rsi, %rdx 18 | jb .L1 19 | movzbl 14(%rax), %esi 20 | andl $15, %esi 21 | leaq 14(%rax,%rsi,4), %rax 22 | leaq 20(%rax), %rsi 23 | cmpq %rsi, %rdx 24 | jb .L1 25 | xorl %ecx, %ecx 26 | cmpw $-28641, 2(%rax) 27 | setne %cl 28 | addl $1, %ecx 29 | .L1: 30 | movl %ecx, %eax 31 | ret 32 | .cfi_endproc 33 | .LFE30: 34 | .size xdp_prog_main, .-xdp_prog_main 35 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 36 | .section .note.GNU-stack,"",@progbits 37 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_redefineO1.s: -------------------------------------------------------------------------------- 1 | .file "xdp_redefine.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB30: 8 | .cfi_startproc 9 | movl (%rdi), %edx 10 | movl 4(%rdi), %ecx 11 | leaq 14(%rdx), %rsi 12 | movl $1, %eax 13 | cmpq %rsi, %rcx 14 | jb .L1 15 | leaq 34(%rdx), %rsi 16 | cmpq %rsi, %rcx 17 | jb .L1 18 | movzbl 14(%rdx), %eax 19 | andl $15, %eax 20 | leaq 34(%rdx,%rax,4), %rax 21 | cmpq %rax, %rcx 22 | setnb %al 23 | movzbl %al, %eax 24 | addl $1, %eax 25 | .L1: 26 | ret 27 | .cfi_endproc 28 | .LFE30: 29 | .size xdp_prog_main, .-xdp_prog_main 30 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 31 | .section .note.GNU-stack,"",@progbits 32 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_redefineO2.s: -------------------------------------------------------------------------------- 1 | .file "xdp_redefine.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB30: 9 | .cfi_startproc 10 | movl (%rdi), %eax 11 | movl 4(%rdi), %ecx 12 | movl $1, %edx 13 | leaq 14(%rax), %rsi 14 | cmpq %rsi, %rcx 15 | jb .L1 16 | leaq 34(%rax), %rsi 17 | cmpq %rsi, %rcx 18 | jb .L1 19 | movzbl 14(%rax), %edx 20 | andl $15, %edx 21 | leaq 34(%rax,%rdx,4), %rax 22 | xorl %edx, %edx 23 | cmpq %rax, %rcx 24 | setnb %dl 25 | addl $1, %edx 26 | .L1: 27 | movl %edx, %eax 28 | ret 29 | .cfi_endproc 30 | .LFE30: 31 | .size xdp_prog_main, .-xdp_prog_main 32 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 33 | .section .note.GNU-stack,"",@progbits 34 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_redefineO3.s: -------------------------------------------------------------------------------- 1 | .file "xdp_redefine.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB30: 9 | .cfi_startproc 10 | movl (%rdi), %eax 11 | movl 4(%rdi), %ecx 12 | movl $1, %edx 13 | leaq 14(%rax), %rsi 14 | cmpq %rsi, %rcx 15 | jb .L1 16 | leaq 34(%rax), %rsi 17 | cmpq %rsi, %rcx 18 | jb .L1 19 | movzbl 14(%rax), %edx 20 | andl $15, %edx 21 | leaq 34(%rax,%rdx,4), %rax 22 | xorl %edx, %edx 23 | cmpq %rax, %rcx 24 | setnb %dl 25 | addl $1, %edx 26 | .L1: 27 | movl %edx, %eax 28 | ret 29 | .cfi_endproc 30 | .LFE30: 31 | .size xdp_prog_main, .-xdp_prog_main 32 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 33 | .section .note.GNU-stack,"",@progbits 34 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_checkO1.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_check.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB30: 8 | .cfi_startproc 9 | movl (%rdi), %edx 10 | movl 4(%rdi), %ecx 11 | leaq 14(%rdx), %rsi 12 | movl $1, %eax 13 | cmpq %rsi, %rcx 14 | jb .L1 15 | leaq 34(%rdx), %rsi 16 | cmpq %rsi, %rcx 17 | jb .L1 18 | movzbl 14(%rdx), %eax 19 | andl $15, %eax 20 | leaq 34(%rdx,%rax,4), %rax 21 | cmpq %rax, %rcx 22 | setnb %al 23 | movzbl %al, %eax 24 | addl $1, %eax 25 | .L1: 26 | ret 27 | .cfi_endproc 28 | .LFE30: 29 | .size xdp_prog_main, .-xdp_prog_main 30 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 31 | .section .note.GNU-stack,"",@progbits 32 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_checkO2.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_check.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB30: 9 | .cfi_startproc 10 | movl (%rdi), %eax 11 | movl 4(%rdi), %ecx 12 | movl $1, %edx 13 | leaq 14(%rax), %rsi 14 | cmpq %rsi, %rcx 15 | jb .L1 16 | leaq 34(%rax), %rsi 17 | cmpq %rsi, %rcx 18 | jb .L1 19 | movzbl 14(%rax), %edx 20 | andl $15, %edx 21 | leaq 34(%rax,%rdx,4), %rax 22 | xorl %edx, %edx 23 | cmpq %rax, %rcx 24 | setnb %dl 25 | addl $1, %edx 26 | .L1: 27 | movl %edx, %eax 28 | ret 29 | .cfi_endproc 30 | .LFE30: 31 | .size xdp_prog_main, .-xdp_prog_main 32 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 33 | .section .note.GNU-stack,"",@progbits 34 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_checkO3.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_check.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB30: 9 | .cfi_startproc 10 | movl (%rdi), %eax 11 | movl 4(%rdi), %ecx 12 | movl $1, %edx 13 | leaq 14(%rax), %rsi 14 | cmpq %rsi, %rcx 15 | jb .L1 16 | leaq 34(%rax), %rsi 17 | cmpq %rsi, %rcx 18 | jb .L1 19 | movzbl 14(%rax), %edx 20 | andl $15, %edx 21 | leaq 34(%rax,%rdx,4), %rax 22 | xorl %edx, %edx 23 | cmpq %rax, %rcx 24 | setnb %dl 25 | addl $1, %edx 26 | .L1: 27 | movl %edx, %eax 28 | ret 29 | .cfi_endproc 30 | .LFE30: 31 | .size xdp_prog_main, .-xdp_prog_main 32 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 33 | .section .note.GNU-stack,"",@progbits 34 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_check_unlikelyO1.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_check_unlikely.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB30: 8 | .cfi_startproc 9 | movl (%rdi), %eax 10 | movl 4(%rdi), %edx 11 | leaq 14(%rax), %rcx 12 | cmpq %rcx, %rdx 13 | jb .L3 14 | leaq 34(%rax), %rcx 15 | cmpq %rcx, %rdx 16 | jb .L4 17 | movzbl 14(%rax), %ecx 18 | andl $15, %ecx 19 | leaq 34(%rax,%rcx,4), %rax 20 | cmpq %rax, %rdx 21 | setnb %al 22 | movzbl %al, %eax 23 | addl $1, %eax 24 | ret 25 | .L3: 26 | movl $1, %eax 27 | ret 28 | .L4: 29 | movl $1, %eax 30 | ret 31 | .cfi_endproc 32 | .LFE30: 33 | .size xdp_prog_main, .-xdp_prog_main 34 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 35 | .section .note.GNU-stack,"",@progbits 36 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_check_unlikelyO2.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_check_unlikely.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB30: 9 | .cfi_startproc 10 | movl (%rdi), %eax 11 | movl 4(%rdi), %edx 12 | leaq 14(%rax), %rcx 13 | cmpq %rcx, %rdx 14 | jb .L4 15 | leaq 34(%rax), %rcx 16 | cmpq %rcx, %rdx 17 | jb .L4 18 | movzbl 14(%rax), %ecx 19 | andl $15, %ecx 20 | leaq 34(%rax,%rcx,4), %rax 21 | cmpq %rax, %rdx 22 | setnb %al 23 | movzbl %al, %eax 24 | addl $1, %eax 25 | ret 26 | .p2align 4,,10 27 | .p2align 3 28 | .L4: 29 | movl $1, %eax 30 | ret 31 | .cfi_endproc 32 | .LFE30: 33 | .size xdp_prog_main, .-xdp_prog_main 34 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 35 | .section .note.GNU-stack,"",@progbits 36 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_check_unlikelyO3.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_check_unlikely.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB30: 9 | .cfi_startproc 10 | movl (%rdi), %eax 11 | movl 4(%rdi), %edx 12 | leaq 14(%rax), %rcx 13 | cmpq %rcx, %rdx 14 | jb .L4 15 | leaq 34(%rax), %rcx 16 | cmpq %rcx, %rdx 17 | jb .L4 18 | movzbl 14(%rax), %ecx 19 | andl $15, %ecx 20 | leaq 34(%rax,%rcx,4), %rax 21 | cmpq %rax, %rdx 22 | setnb %al 23 | movzbl %al, %eax 24 | addl $1, %eax 25 | ret 26 | .p2align 4,,10 27 | .p2align 3 28 | .L4: 29 | movl $1, %eax 30 | ret 31 | .cfi_endproc 32 | .LFE30: 33 | .size xdp_prog_main, .-xdp_prog_main 34 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 35 | .section .note.GNU-stack,"",@progbits 36 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_dropO0.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_drop.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB0: 8 | .cfi_startproc 9 | pushq %rbp 10 | .cfi_def_cfa_offset 16 11 | .cfi_offset 6, -16 12 | movq %rsp, %rbp 13 | .cfi_def_cfa_register 6 14 | movq %rdi, -8(%rbp) 15 | movl $1, %eax 16 | popq %rbp 17 | .cfi_def_cfa 7, 8 18 | ret 19 | .cfi_endproc 20 | .LFE0: 21 | .size xdp_prog_main, .-xdp_prog_main 22 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 23 | .section .note.GNU-stack,"",@progbits 24 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_dropO1.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_drop.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB0: 8 | .cfi_startproc 9 | movl $1, %eax 10 | ret 11 | .cfi_endproc 12 | .LFE0: 13 | .size xdp_prog_main, .-xdp_prog_main 14 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 15 | .section .note.GNU-stack,"",@progbits 16 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_dropO2.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_drop.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB0: 9 | .cfi_startproc 10 | movl $1, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE0: 14 | .size xdp_prog_main, .-xdp_prog_main 15 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 16 | .section .note.GNU-stack,"",@progbits 17 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_dropO3.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_drop.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB0: 9 | .cfi_startproc 10 | movl $1, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE0: 14 | .size xdp_prog_main, .-xdp_prog_main 15 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 16 | .section .note.GNU-stack,"",@progbits 17 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_passO0.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_pass.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB0: 8 | .cfi_startproc 9 | pushq %rbp 10 | .cfi_def_cfa_offset 16 11 | .cfi_offset 6, -16 12 | movq %rsp, %rbp 13 | .cfi_def_cfa_register 6 14 | movq %rdi, -8(%rbp) 15 | movl $2, %eax 16 | popq %rbp 17 | .cfi_def_cfa 7, 8 18 | ret 19 | .cfi_endproc 20 | .LFE0: 21 | .size xdp_prog_main, .-xdp_prog_main 22 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 23 | .section .note.GNU-stack,"",@progbits 24 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_passO1.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_pass.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .globl xdp_prog_main 5 | .type xdp_prog_main, @function 6 | xdp_prog_main: 7 | .LFB0: 8 | .cfi_startproc 9 | movl $2, %eax 10 | ret 11 | .cfi_endproc 12 | .LFE0: 13 | .size xdp_prog_main, .-xdp_prog_main 14 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 15 | .section .note.GNU-stack,"",@progbits 16 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_passO2.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_pass.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB0: 9 | .cfi_startproc 10 | movl $2, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE0: 14 | .size xdp_prog_main, .-xdp_prog_main 15 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 16 | .section .note.GNU-stack,"",@progbits 17 | -------------------------------------------------------------------------------- /asm/gcc/main/xdp_simple_passO3.s: -------------------------------------------------------------------------------- 1 | .file "xdp_simple_pass.c" 2 | .text 3 | .section xdp_prog,"ax",@progbits 4 | .p2align 4 5 | .globl xdp_prog_main 6 | .type xdp_prog_main, @function 7 | xdp_prog_main: 8 | .LFB0: 9 | .cfi_startproc 10 | movl $2, %eax 11 | ret 12 | .cfi_endproc 13 | .LFE0: 14 | .size xdp_prog_main, .-xdp_prog_main 15 | .ident "GCC: (Debian 12.2.0-14) 12.2.0" 16 | .section .note.GNU-stack,"",@progbits 17 | -------------------------------------------------------------------------------- /asm/objdump/xdp_adjust_headO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_adjust_headO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_adjust_headO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_adjust_headO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_adjust_headO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_adjust_headO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_adjust_headO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_adjust_headO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_adjust_tailO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_adjust_tailO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_adjust_tailO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_adjust_tailO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_adjust_tailO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_adjust_tailO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_adjust_tailO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_adjust_tailO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_block_port8080O0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_block_port8080O0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_block_port8080O1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_block_port8080O1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_block_port8080O2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_block_port8080O2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_block_port8080O3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_block_port8080O3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_cmp_builtinO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_cmp_builtinO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_cmp_builtinO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_cmp_builtinO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_cmp_builtinO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_cmp_builtinO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_cmp_builtinO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_cmp_builtinO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_cmp_loopO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_cmp_loopO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_cmp_loopO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_cmp_loopO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_cmp_loopO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_cmp_loopO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_cmp_loopO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_cmp_loopO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_custom_hdrO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_custom_hdrO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_custom_hdrO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_custom_hdrO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_custom_hdrO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_custom_hdrO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_custom_hdrO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_custom_hdrO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_drop_port8080O0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_drop_port8080O0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_drop_port8080O1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_drop_port8080O1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_drop_port8080O2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_drop_port8080O2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_drop_port8080O3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_drop_port8080O3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_redefineO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_redefineO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_redefineO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_redefineO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_redefineO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_redefineO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_redefineO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_redefineO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_checkO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_checkO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_checkO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_checkO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_checkO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_checkO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_checkO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_checkO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_check_unlikelyO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_check_unlikelyO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_check_unlikelyO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_check_unlikelyO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_check_unlikelyO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_check_unlikelyO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_check_unlikelyO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_check_unlikelyO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_dropO0.dmp: -------------------------------------------------------------------------------- 1 | 2 | ../asm/objdump/xdp_simple_dropO0.o: file format elf64-bpf 3 | 4 | Disassembly of section xdp_prog: 5 | 6 | 0000000000000000 : 7 | ; { 8 | 0: *(u64 *)(r10 - 8) = r1 9 | 1: r0 = 1 10 | ; return XDP_DROP; 11 | 2: exit 12 | -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_dropO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_dropO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_dropO1.dmp: -------------------------------------------------------------------------------- 1 | 2 | ../asm/objdump/xdp_simple_dropO1.o: file format elf64-bpf 3 | 4 | Disassembly of section xdp_prog: 5 | 6 | 0000000000000000 : 7 | ; return XDP_DROP; 8 | 0: r0 = 1 9 | 1: exit 10 | -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_dropO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_dropO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_dropO2.dmp: -------------------------------------------------------------------------------- 1 | 2 | ../asm/objdump/xdp_simple_dropO2.o: file format elf64-bpf 3 | 4 | Disassembly of section xdp_prog: 5 | 6 | 0000000000000000 : 7 | ; return XDP_DROP; 8 | 0: r0 = 1 9 | 1: exit 10 | -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_dropO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_dropO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_dropO3.dmp: -------------------------------------------------------------------------------- 1 | 2 | ../asm/objdump/xdp_simple_dropO3.o: file format elf64-bpf 3 | 4 | Disassembly of section xdp_prog: 5 | 6 | 0000000000000000 : 7 | ; return XDP_DROP; 8 | 0: r0 = 1 9 | 1: exit 10 | -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_dropO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_dropO3.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_passO0.dmp: -------------------------------------------------------------------------------- 1 | 2 | ../asm/objdump/xdp_simple_passO0.o: file format elf64-bpf 3 | 4 | Disassembly of section xdp_prog: 5 | 6 | 0000000000000000 : 7 | ; { 8 | 0: *(u64 *)(r10 - 8) = r1 9 | 1: r0 = 2 10 | ; return XDP_PASS; 11 | 2: exit 12 | -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_passO0.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_passO0.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_passO1.dmp: -------------------------------------------------------------------------------- 1 | 2 | ../asm/objdump/xdp_simple_passO1.o: file format elf64-bpf 3 | 4 | Disassembly of section xdp_prog: 5 | 6 | 0000000000000000 : 7 | ; return XDP_PASS; 8 | 0: r0 = 2 9 | 1: exit 10 | -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_passO1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_passO1.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_passO2.dmp: -------------------------------------------------------------------------------- 1 | 2 | ../asm/objdump/xdp_simple_passO2.o: file format elf64-bpf 3 | 4 | Disassembly of section xdp_prog: 5 | 6 | 0000000000000000 : 7 | ; return XDP_PASS; 8 | 0: r0 = 2 9 | 1: exit 10 | -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_passO2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_passO2.o -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_passO3.dmp: -------------------------------------------------------------------------------- 1 | 2 | ../asm/objdump/xdp_simple_passO3.o: file format elf64-bpf 3 | 4 | Disassembly of section xdp_prog: 5 | 6 | 0000000000000000 : 7 | ; return XDP_PASS; 8 | 0: r0 = 2 9 | 1: exit 10 | -------------------------------------------------------------------------------- /asm/objdump/xdp_simple_passO3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamemann/C-To-Assembly-Tests/8afb059be6a6d63220d46cf6bdd9105446203b58/asm/objdump/xdp_simple_passO3.o -------------------------------------------------------------------------------- /scripts/gensrcdir.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ROOTDIR=.. 3 | 4 | # Scan for all files in source directory. 5 | for i in $ROOTDIR/src/* 6 | do 7 | # Only generate source files (.c). 8 | if [[ "$i" == *".c"* ]]; then 9 | FILENAME=${i##*/} 10 | NOEXT=${FILENAME%%.*} 11 | $ROOTDIR/scripts/genassembly.sh $NOEXT 12 | 13 | echo "Compiled $NOEXT..." 14 | fi 15 | done -------------------------------------------------------------------------------- /src/16to64.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define BIGEDIAN 5 | 6 | int main() 7 | { 8 | // Number - 8128420482184 9 | __u16 tmp[4] = 10 | { 11 | #ifdef BIGEDIAN 12 | 0xC888, 0x8B9D, 0x0764, 0x0000 13 | #else 14 | 0x0000, 0x0764, 0x8B9D, 0x8C88 15 | #endif 16 | }; 17 | 18 | __u64 *val = (__u64 *)&tmp[0]; 19 | 20 | printf("Value is %llu.\n.", *val); 21 | 22 | return 0; 23 | } -------------------------------------------------------------------------------- /src/32to64.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define BIGEDIAN 5 | 6 | int main() 7 | { 8 | // Number - 8128420482184 9 | __u32 tmp[2] = 10 | { 11 | #ifdef BIGEDIAN 12 | 0x9D8BC888, 0x00000764 13 | #else 14 | 0x00000764, 0x8B9D8C88 15 | #endif 16 | }; 17 | 18 | __u64 *val = (__u64 *)&tmp[0]; 19 | 20 | printf("Value is %llu.\n.", *val); 21 | 22 | return 0; 23 | } -------------------------------------------------------------------------------- /src/64.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | // Number - 8128420482184 7 | __u64 val = 8128420482184; 8 | 9 | printf("Value is %llu.\n.", val); 10 | 11 | return 0; 12 | } -------------------------------------------------------------------------------- /src/64_2.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | // Number - 8128420482184 7 | __u64 tmp = 8128420482184; 8 | 9 | __u64 *val = &tmp; 10 | 11 | printf("Value is %llu.\n.", *val); 12 | 13 | return 0; 14 | } -------------------------------------------------------------------------------- /src/64to16.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() 6 | { 7 | // Number - 8128420482184 8 | __u64 tmp = 8128420482184; 9 | 10 | __u16 val[4]; 11 | 12 | // Do shifts to make u16 from u64. 13 | val[0] = (__u64)tmp >> 0; 14 | val[1] = (__u64)tmp >> 16; 15 | val[2] = (__u64)tmp >> 32; 16 | val[3] = (__u64)tmp >> 48; 17 | 18 | __u64 *pval = (__u64 *)&val[0]; 19 | 20 | printf("Value is %llu.\n.", *pval); 21 | 22 | return 0; 23 | } -------------------------------------------------------------------------------- /src/64to32.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() 6 | { 7 | // Number - 8128420482184 8 | __u64 tmp = 8128420482184; 9 | 10 | __u32 val[2]; 11 | 12 | // Do shifts to make u32 from u64. 13 | val[0] = (__u64)tmp >> 0; 14 | val[1] = (__u64)tmp >> 32; 15 | 16 | __u64 *pval = (__u64 *)&val[0]; 17 | 18 | printf("Value is %llu.\n.", *pval); 19 | 20 | return 0; 21 | } -------------------------------------------------------------------------------- /src/64to8.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() 6 | { 7 | // Number - 8128420482184 8 | __u64 tmp = 8128420482184; 9 | 10 | __u8 val[8]; 11 | 12 | // Do shifts to make u8 from u64. 13 | val[0] = (__u64)tmp >> 0; 14 | val[1] = (__u64)tmp >> 8; 15 | val[2] = (__u64)tmp >> 16; 16 | val[3] = (__u64)tmp >> 24; 17 | val[4] = (__u64)tmp >> 32; 18 | val[5] = (__u64)tmp >> 40; 19 | val[6] = (__u64)tmp >> 48; 20 | val[7] = (__u64)tmp >> 56; 21 | 22 | __u64 *pval = (__u64 *)&val[0]; 23 | 24 | printf("Value is %llu.\n.", *pval); 25 | 26 | return 0; 27 | } -------------------------------------------------------------------------------- /src/8to64.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define BIGEDIAN 5 | 6 | int main() 7 | { 8 | // Number - 8128420482184 9 | __u8 tmp[8] = 10 | { 11 | #ifdef BIGEDIAN 12 | 0x88, 0x8C, 0x9D, 0x8B, 0x64, 0x07, 0x00, 0x00 13 | #else 14 | 0x00, 0x00, 0x07, 0x64, 0x8B, 0x9D, 0x8C, 0x88 15 | #endif 16 | }; 17 | 18 | __u64 *val = (__u64 *)&tmp[0]; 19 | 20 | printf("Value is %llu.\n.", *val); 21 | 22 | return 0; 23 | } -------------------------------------------------------------------------------- /src/empty.c: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /src/forloop.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | const __u8 bytes[8] = {0x00, 0xFF, 0XFF, 0XFF, 0X55, 0X13, 0X54, 0X06}; 6 | 7 | int main() 8 | { 9 | __u8 new[8]; 10 | 11 | for (int i = 0; i < sizeof(bytes); i++) 12 | { 13 | new[i] = bytes[i]; 14 | } 15 | 16 | return 0; 17 | } -------------------------------------------------------------------------------- /src/fprintf.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | fprintf(stdout, "This is a test.\n"); 6 | 7 | return 0; 8 | } -------------------------------------------------------------------------------- /src/if.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int i = 5; 6 | 7 | if (i == 0) 8 | { 9 | printf("case #0\n"); 10 | } 11 | else if (i == 1) 12 | { 13 | printf("case #1\n"); 14 | } 15 | else if (i == 2) 16 | { 17 | printf("case #2\n"); 18 | } 19 | else if (i == 3) 20 | { 21 | printf("case #3\n"); 22 | } 23 | else if (i == 4) 24 | { 25 | printf("case #4\n"); 26 | } 27 | else if (i == 5) 28 | { 29 | printf("case #5\n"); 30 | } 31 | 32 | return 0; 33 | } -------------------------------------------------------------------------------- /src/if_simple.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int i = 5; 6 | 7 | if (i == 5) 8 | { 9 | printf("i is 5.\n"); 10 | } 11 | 12 | return 0; 13 | } -------------------------------------------------------------------------------- /src/matchrs.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define FLAG_ONE 1 << 0; 5 | #define FLAG_TWO 1 << 1; 6 | #define FLAG_THREE 1 << 2; 7 | #define COMBINED 0x07 8 | 9 | int main() 10 | { 11 | __u32 flags = 0; 12 | 13 | flags |= FLAG_ONE; 14 | flags |= FLAG_TWO; 15 | flags |= FLAG_THREE; 16 | 17 | if ((flags & COMBINED) == COMBINED) 18 | { 19 | printf("Flags set correctly!\n"); 20 | } 21 | 22 | return 0; 23 | } -------------------------------------------------------------------------------- /src/matchstruct.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | struct flags 5 | { 6 | unsigned int one : 1; 7 | unsigned int two : 1; 8 | unsigned int three : 1; 9 | }; 10 | 11 | int main() 12 | { 13 | struct flags flags = {1, 1, 1}; 14 | 15 | if (flags.one && flags.two && flags.three) 16 | { 17 | printf("Flags set correctly!\n"); 18 | } 19 | 20 | return 0; 21 | } -------------------------------------------------------------------------------- /src/memcpy.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | const __u8 bytes[8] = {0x00, 0xFF, 0XFF, 0XFF, 0X55, 0X13, 0X54, 0X06}; 6 | 7 | int main() 8 | { 9 | __u8 new[8]; 10 | 11 | memcpy(new, bytes, 8); 12 | 13 | return 0; 14 | } -------------------------------------------------------------------------------- /src/nullptr.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int *i = NULL; 6 | 7 | fprintf(stdout, "%d is i.\n", (i != NULL) ? *i : 0); 8 | 9 | return 0; 10 | } -------------------------------------------------------------------------------- /src/perftest1_one.c: -------------------------------------------------------------------------------- 1 | /* Performance with incrementing and dividing an 8-bit integer */ 2 | 3 | #include 4 | 5 | #include 6 | 7 | int main() { 8 | __u8 value = 0; 9 | 10 | value += 30; 11 | value /= 10; 12 | 13 | printf("Value is %d.\n", value); 14 | 15 | return 0; 16 | } -------------------------------------------------------------------------------- /src/perftest1_two.c: -------------------------------------------------------------------------------- 1 | /* Performance with incrementing and dividing a standard integer */ 2 | 3 | #include 4 | 5 | #include 6 | 7 | int main() { 8 | int value = 0; 9 | 10 | value += 30; 11 | value /= 10; 12 | 13 | printf("Value is %d.\n", value); 14 | 15 | return 0; 16 | } -------------------------------------------------------------------------------- /src/perftest2.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | typedef struct large_data { 6 | __u64 field1; 7 | char field2[64]; 8 | __u64 field3; 9 | __u32 field4; 10 | __u8 field5; 11 | char field6[128]; 12 | } large_data_t; -------------------------------------------------------------------------------- /src/perftest2_one.c: -------------------------------------------------------------------------------- 1 | /* Performance with passing a large structure by value to lined function */ 2 | 3 | #include 4 | 5 | #include "perftest2.h" 6 | 7 | static __attribute__((noinline)) void print_struct(large_data_t data) { 8 | printf("Field 1 => %llu\n", data.field1); 9 | printf("Field 3 => %llu\n", data.field3); 10 | printf("Field 4 => %u\n", data.field4); 11 | printf("Field 5 => %d.\n", data.field5); 12 | } 13 | 14 | int main() { 15 | large_data_t data = {0}; 16 | data.field1 = 1; 17 | data.field3 = 555555; 18 | data.field4 = 32134; 19 | data.field5 = 250; 20 | 21 | print_struct(data); 22 | 23 | return 0; 24 | } -------------------------------------------------------------------------------- /src/perftest2_two.c: -------------------------------------------------------------------------------- 1 | /* Performance with passing a large structure by reference to lined function */ 2 | 3 | #include 4 | 5 | #include "perftest2.h" 6 | 7 | static __attribute__((noinline)) void print_struct(large_data_t *data) { 8 | printf("Field 1 => %llu\n", data->field1); 9 | printf("Field 3 => %llu\n", data->field3); 10 | printf("Field 4 => %u\n", data->field4); 11 | printf("Field 5 => %d.\n", data->field5); 12 | } 13 | 14 | int main() { 15 | large_data_t data = {0}; 16 | data.field1 = 1; 17 | data.field3 = 555555; 18 | data.field4 = 32134; 19 | data.field5 = 250; 20 | 21 | print_struct(&data); 22 | 23 | return 0; 24 | } -------------------------------------------------------------------------------- /src/perftest3_one.c: -------------------------------------------------------------------------------- 1 | /* Performance with initializing a structure to 0's and then setting fields afterwards */ 2 | 3 | #include 4 | 5 | #include 6 | 7 | typedef struct test { 8 | __u32 field1; 9 | __u16 field2; 10 | __u8 field3; 11 | } test_t; 12 | 13 | static __attribute__((noinline)) void print_struct(test_t data) { 14 | printf("Sizeof struct => %lu.\n", sizeof(test_t)); 15 | printf("Field 1 => %u\n", data.field1); 16 | printf("Field 2 => %d\n", data.field2); 17 | printf("Field 3 => %u\n", data.field3); 18 | } 19 | 20 | int main() { 21 | test_t data = {0}; 22 | data.field1 = 1235123; 23 | data.field2 = 42321; 24 | data.field3 = 250; 25 | 26 | print_struct(data); 27 | 28 | return 0; 29 | } -------------------------------------------------------------------------------- /src/pointer.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int i = 1; 6 | 7 | int *x = &i; 8 | 9 | fprintf(stdout, "i = %d. x = %d.\n", i, *x); 10 | 11 | return 0; 12 | } -------------------------------------------------------------------------------- /src/pointer_reassign.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int i = 1; 6 | 7 | int *x = &i; 8 | x = &i; 9 | 10 | fprintf(stdout, "i = %d. x = %d.\n", i, *x); 11 | 12 | return 0; 13 | } -------------------------------------------------------------------------------- /src/print.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define MSG "HELLO\n" 5 | 6 | int main() 7 | { 8 | fprintf(stdout, MSG); 9 | 10 | char newmsg[sizeof(MSG)]; 11 | memcpy(newmsg, MSG, sizeof(MSG)); 12 | 13 | fprintf(stderr, "New message => %s\n", newmsg); 14 | 15 | return 0; 16 | } -------------------------------------------------------------------------------- /src/printf.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | printf("This is a test.\n"); 6 | 7 | return 0; 8 | } -------------------------------------------------------------------------------- /src/switch.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int i = 5; 6 | 7 | switch (i) 8 | { 9 | case 0: 10 | printf("case #0\n"); 11 | 12 | break; 13 | 14 | case 1: 15 | printf("case #1\n"); 16 | 17 | break; 18 | 19 | case 2: 20 | printf("case #2\n"); 21 | 22 | break; 23 | 24 | case 3: 25 | printf("case #3\n"); 26 | 27 | break; 28 | 29 | case 4: 30 | printf("case #4\n"); 31 | 32 | break; 33 | 34 | case 5: 35 | printf("case #5\n"); 36 | 37 | break; 38 | } 39 | 40 | return 0; 41 | } -------------------------------------------------------------------------------- /src/switch_simple.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int i = 5; 6 | 7 | switch (i) 8 | { 9 | case 5: 10 | printf("i is 5.\n"); 11 | 12 | break; 13 | } 14 | 15 | return 0; 16 | } -------------------------------------------------------------------------------- /src/unroll_not_test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int i = 0; 6 | 7 | for (int j = 0; j < 256; j++) 8 | { 9 | i += j * 2; 10 | } 11 | 12 | printf("I is %d.\n", i); 13 | 14 | return 0; 15 | } -------------------------------------------------------------------------------- /src/unroll_simple.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | int x = 0; 5 | 6 | #pragma unroll(100) 7 | for (int i = 0; i < 100; i++) { 8 | x += i * 5; 9 | } 10 | 11 | printf("X is %d.\n", x); 12 | 13 | return 0; 14 | } -------------------------------------------------------------------------------- /src/unroll_simple_not.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | int x = 0; 5 | 6 | for (int i = 0; i < 100; i++) { 7 | x += i * 5; 8 | } 9 | 10 | printf("X is %d.\n", x); 11 | 12 | return 0; 13 | } -------------------------------------------------------------------------------- /src/unroll_test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | int i = 0; 6 | 7 | #pragma unroll 10 8 | for (int j = 0; j < 256; j++) 9 | { 10 | i += j * 2; 11 | } 12 | 13 | printf("I is %d.\n", i); 14 | 15 | return 0; 16 | } -------------------------------------------------------------------------------- /src/xdp_cmp.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #include 7 | #include 8 | #include 9 | 10 | #ifndef memcmp 11 | #define memcmp(s, d, l) __builtin_memcmp((s), (d), (l)) 12 | #endif -------------------------------------------------------------------------------- /src/xdp_simple_drop.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | __attribute__((section("xdp_prog"), used)) 5 | int xdp_prog_main(struct xdp_md *ctx) 6 | { 7 | return XDP_DROP; 8 | } -------------------------------------------------------------------------------- /src/xdp_simple_pass.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | __attribute__((section("xdp_prog"), used)) 5 | int xdp_prog_main(struct xdp_md *ctx) 6 | { 7 | return XDP_PASS; 8 | } --------------------------------------------------------------------------------