diff options
Diffstat (limited to 'results/classifier/105/device/1631625')
| -rw-r--r-- | results/classifier/105/device/1631625 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/results/classifier/105/device/1631625 b/results/classifier/105/device/1631625 new file mode 100644 index 00000000..c104bfdf --- /dev/null +++ b/results/classifier/105/device/1631625 @@ -0,0 +1,34 @@ +device: 0.614 +instruction: 0.600 +mistranslation: 0.456 +graphic: 0.376 +semantic: 0.312 +assembly: 0.183 +socket: 0.119 +network: 0.081 +KVM: 0.077 +vnc: 0.038 +boot: 0.031 +other: 0.031 + +target-mips/dsp_helper.c: two possible bad shifts + +target-mips/dsp_helper.c:3480:1: error: V629 Consider inspecting the '0x01 << (size + 1)' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type. + +Source code is + + temp = temp & ((0x01 << (size + 1)) - 1); + +If size >= 32, then better code might be + + temp = temp & ((0x01UL << (size + 1)) - 1); + +target-mips/dsp_helper.c:3509:1: error: V629 Consider inspecting the '0x01 << (size + 1)' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type. + +Duplicate + +Fix has been committed: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=e6e2784cacd4cfec149 + +Released with version 2.8 + |
