For { A=a; B=b; }, will “A=a” be strictly executed before “B=b”?

后端 未结 6 1874
臣服心动
臣服心动 2020-12-23 19:14

Suppose A, B, a, and b are all variables, and the addresses of A, B, a, and

6条回答
  •  一生所求
    2020-12-23 19:58

    Since A = a; and B = b; are independent in terms of data dependencies, this should not matter. If there was an output/outcome of previous instruction affecting the subsequent instruction's input, then ordering matters, otherwise not. this is strictly sequential execution normally.

提交回复
热议问题