Commit 2761992d13ed80a1351c24f49836c845ecf05097

Authored by blueswir1
1 parent bbf7d96b

Remove unnecessary register masking (Robert Reif)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3663 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 5 additions and 5 deletions
target-sparc/op_helper.c
... ... @@ -271,7 +271,7 @@ void helper_ld_asi(int asi, int size, int sign)
271 271 case 8:
272 272 tmp = ldq_code(T0 & ~7);
273 273 ret = tmp >> 32;
274   - T0 = tmp & 0xffffffff;
  274 + T0 = tmp;
275 275 break;
276 276 }
277 277 break;
... ... @@ -290,7 +290,7 @@ void helper_ld_asi(int asi, int size, int sign)
290 290 case 8:
291 291 tmp = ldq_user(T0 & ~7);
292 292 ret = tmp >> 32;
293   - T0 = tmp & 0xffffffff;
  293 + T0 = tmp;
294 294 break;
295 295 }
296 296 break;
... ... @@ -309,7 +309,7 @@ void helper_ld_asi(int asi, int size, int sign)
309 309 case 8:
310 310 tmp = ldq_kernel(T0 & ~7);
311 311 ret = tmp >> 32;
312   - T0 = tmp & 0xffffffff;
  312 + T0 = tmp;
313 313 break;
314 314 }
315 315 break;
... ... @@ -333,7 +333,7 @@ void helper_ld_asi(int asi, int size, int sign)
333 333 case 8:
334 334 tmp = ldq_phys(T0 & ~7);
335 335 ret = tmp >> 32;
336   - T0 = tmp & 0xffffffff;
  336 + T0 = tmp;
337 337 break;
338 338 }
339 339 break;
... ... @@ -357,7 +357,7 @@ void helper_ld_asi(int asi, int size, int sign)
357 357 tmp = ldq_phys((target_phys_addr_t)(T0 & ~7)
358 358 | ((target_phys_addr_t)(asi & 0xf) << 32));
359 359 ret = tmp >> 32;
360   - T0 = tmp & 0xffffffff;
  360 + T0 = tmp;
361 361 break;
362 362 }
363 363 break;
... ...