diff mbox

[v2,19/26] target-microblaze: rename helper flags

Message ID 1349812584-19551-20-git-send-email-aurelien@aurel32.net
State New
Headers show

Commit Message

Aurelien Jarno Oct. 9, 2012, 7:56 p.m. UTC
Rename helper flags to the new ones. This is purely a mechanical change,
it's possible to use better flags by looking at the helpers.

Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 target-microblaze/helper.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Edgar E. Iglesias Oct. 10, 2012, 10:03 a.m. UTC | #1
On Tue, Oct 09, 2012 at 09:56:17PM +0200, Aurelien Jarno wrote:
> Rename helper flags to the new ones. This is purely a mechanical change,
> it's possible to use better flags by looking at the helpers.
> 
> Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>



> ---
>  target-microblaze/helper.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/target-microblaze/helper.h b/target-microblaze/helper.h
> index a1a732c..6076a1b 100644
> --- a/target-microblaze/helper.h
> +++ b/target-microblaze/helper.h
> @@ -2,10 +2,10 @@
>  
>  DEF_HELPER_2(raise_exception, void, env, i32)
>  DEF_HELPER_1(debug, void, env)
> -DEF_HELPER_FLAGS_3(carry, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32, i32, i32)
> +DEF_HELPER_FLAGS_3(carry, TCG_CALL_NO_RGSE, i32, i32, i32, i32)
>  DEF_HELPER_2(cmp, i32, i32, i32)
>  DEF_HELPER_2(cmpu, i32, i32, i32)
> -DEF_HELPER_FLAGS_1(clz, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32)
> +DEF_HELPER_FLAGS_1(clz, TCG_CALL_NO_RGSE, i32, i32)
>  
>  DEF_HELPER_3(divs, i32, env, i32, i32)
>  DEF_HELPER_3(divu, i32, env, i32, i32)
> @@ -26,7 +26,7 @@ DEF_HELPER_3(fcmp_gt, i32, env, i32, i32)
>  DEF_HELPER_3(fcmp_ne, i32, env, i32, i32)
>  DEF_HELPER_3(fcmp_ge, i32, env, i32, i32)
>  
> -DEF_HELPER_FLAGS_2(pcmpbf, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32, i32)
> +DEF_HELPER_FLAGS_2(pcmpbf, TCG_CALL_NO_RGSE, i32, i32, i32)
>  #if !defined(CONFIG_USER_ONLY)
>  DEF_HELPER_2(mmu_read, i32, env, i32)
>  DEF_HELPER_3(mmu_write, void, env, i32, i32)
> -- 
> 1.7.10.4
>
diff mbox

Patch

diff --git a/target-microblaze/helper.h b/target-microblaze/helper.h
index a1a732c..6076a1b 100644
--- a/target-microblaze/helper.h
+++ b/target-microblaze/helper.h
@@ -2,10 +2,10 @@ 
 
 DEF_HELPER_2(raise_exception, void, env, i32)
 DEF_HELPER_1(debug, void, env)
-DEF_HELPER_FLAGS_3(carry, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32, i32, i32)
+DEF_HELPER_FLAGS_3(carry, TCG_CALL_NO_RGSE, i32, i32, i32, i32)
 DEF_HELPER_2(cmp, i32, i32, i32)
 DEF_HELPER_2(cmpu, i32, i32, i32)
-DEF_HELPER_FLAGS_1(clz, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32)
+DEF_HELPER_FLAGS_1(clz, TCG_CALL_NO_RGSE, i32, i32)
 
 DEF_HELPER_3(divs, i32, env, i32, i32)
 DEF_HELPER_3(divu, i32, env, i32, i32)
@@ -26,7 +26,7 @@  DEF_HELPER_3(fcmp_gt, i32, env, i32, i32)
 DEF_HELPER_3(fcmp_ne, i32, env, i32, i32)
 DEF_HELPER_3(fcmp_ge, i32, env, i32, i32)
 
-DEF_HELPER_FLAGS_2(pcmpbf, TCG_CALL_PURE | TCG_CALL_CONST, i32, i32, i32)
+DEF_HELPER_FLAGS_2(pcmpbf, TCG_CALL_NO_RGSE, i32, i32, i32)
 #if !defined(CONFIG_USER_ONLY)
 DEF_HELPER_2(mmu_read, i32, env, i32)
 DEF_HELPER_3(mmu_write, void, env, i32, i32)