Why does the compiler recalculate a value that was already available in another register?

前端 未结 0 603
感情败类
感情败类 2021-01-21 03:22

I’m studying machine code produced by the Rust compiler. Here is a simple function that calculates the sum of all elements in a slice. (In Rust, a slice is essentially an array

相关标签:
回答
  • 消灭零回复
提交回复
热议问题