diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-23 11:40:57 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-23 11:40:57 +0000 |
commit | e32664fbd296e962ebb9a731c02e44bc5d1ce3ae (patch) | |
tree | 07dccca872ffb34f153926a805ba71dd7e9efd63 /target-sparc | |
parent | c39e33380f5c3486eed06bb6a7fbc6221365555c (diff) |
Add missing break statements
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3208 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/op_helper.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index c168252d1d..21ae5dec2b 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -285,8 +285,10 @@ void helper_ld_asi(int asi, int size, int sign) switch(size) { case 1: T1 = (int8_t) ret; + break; case 2: T1 = (int16_t) ret; + break; default: T1 = ret; break; @@ -551,10 +553,13 @@ void helper_ld_asi(int asi, int size, int sign) switch(size) { case 2: ret = bswap16(ret); + break; case 4: ret = bswap32(ret); + break; case 8: ret = bswap64(ret); + break; default: break; } @@ -567,10 +572,13 @@ void helper_ld_asi(int asi, int size, int sign) switch(size) { case 1: ret = (int8_t) ret; + break; case 2: ret = (int16_t) ret; + break; case 4: ret = (int32_t) ret; + break; default: break; } @@ -590,10 +598,13 @@ void helper_st_asi(int asi, int size) switch(size) { case 2: T0 = bswap16(T0); + break; case 4: T0 = bswap32(T0); + break; case 8: T0 = bswap64(T0); + break; default: break; } @@ -806,10 +817,13 @@ void helper_ld_asi(int asi, int size, int sign) switch(size) { case 2: ret = bswap16(ret); + break; case 4: ret = bswap32(ret); + break; case 8: ret = bswap64(ret); + break; default: break; } @@ -822,10 +836,13 @@ void helper_ld_asi(int asi, int size, int sign) switch(size) { case 1: ret = (int8_t) ret; + break; case 2: ret = (int16_t) ret; + break; case 4: ret = (int32_t) ret; + break; default: break; } @@ -851,10 +868,13 @@ void helper_st_asi(int asi, int size) switch(size) { case 2: T0 = bswap16(T0); + break; case 4: T0 = bswap32(T0); + break; case 8: T0 = bswap64(T0); + break; default: break; } |