diff options
author | Michael Meissner <gnu@the-meissners.org> | 2000-03-02 22:18:12 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 2000-03-02 22:18:12 +0000 |
commit | b7b8f32709d3b96122e0732c07560ae57d0aa06d (patch) | |
tree | c1f6605a43377387be2005f0314def2b924c1c0c /gas/config/tc-d30v.c | |
parent | d018757450c899d3fbb320a438b5524a4562536d (diff) | |
download | gdb-b7b8f32709d3b96122e0732c07560ae57d0aa06d.zip gdb-b7b8f32709d3b96122e0732c07560ae57d0aa06d.tar.gz gdb-b7b8f32709d3b96122e0732c07560ae57d0aa06d.tar.bz2 |
fix sign extension problem with d30v
Diffstat (limited to 'gas/config/tc-d30v.c')
-rw-r--r-- | gas/config/tc-d30v.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c index c894e2b..c95a8d2 100644 --- a/gas/config/tc-d30v.c +++ b/gas/config/tc-d30v.c @@ -247,10 +247,6 @@ check_range (num, bits, flags) if (bits == 32 && sizeof(unsigned long) * CHAR_BIT == 32) return 0; - /* Sign extend signed values to unsigned long */ - if ((flags & OPERAND_SIGNED) && (num & ((unsigned long)1 << (bits - 1)))) - num |= ((long)-1 << (bits - 1)); - if (flags & OPERAND_SHIFT) { /* We know that all shifts are right by three bits.... */ |