OSDN Git Service

target/openrisc: Replace cpu register array with a function
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 6 May 2019 19:50:27 +0000 (12:50 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 4 Sep 2019 19:47:49 +0000 (12:47 -0700)
commit8bba7619b92a62aff537d295736ca5b871a89d3b
tree5aef65d65754152bdb7bac3f3fd2b804a3a324c0
parentcdd0f459ae331eb34887d38ea37ac22401e5e064
target/openrisc: Replace cpu register array with a function

The writes to cpu_R[0] are now a race across threads, now that we
do code generation in parallel.  Stage the change by introducing
a function to return the temp for R0.

Reviewed-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/openrisc/translate.c