summaryrefslogtreecommitdiff
path: root/gcc/config/pdp11/pdp11.c
diff options
context:
space:
mode:
authorpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-24 17:04:17 +0000
committerpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-24 17:04:17 +0000
commit966c50240b12cf457c20782e26e2ebd4c7cf383d (patch)
treed3b2cf169641ddac9cf8e0e3520df6b888484da4 /gcc/config/pdp11/pdp11.c
parent3f980646ea38b7dbb47559a2be34398f554638ed (diff)
downloadgcc-966c50240b12cf457c20782e26e2ebd4c7cf383d.tar.gz
* config/pdp11/pdp11.md: Change length attribute to be in bytes.
* config/pdp11/pdp11.c (output_jump): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165902 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pdp11/pdp11.c')
-rw-r--r--gcc/config/pdp11/pdp11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c
index 7bfc9e22e2c..b54d8406d13 100644
--- a/gcc/config/pdp11/pdp11.c
+++ b/gcc/config/pdp11/pdp11.c
@@ -1222,13 +1222,13 @@ output_jump (enum rtx_code code, int inv, int length)
switch (length)
{
- case 1:
+ case 2:
sprintf(buf, "%s %%l1", inv ? neg : pos);
return buf;
- case 3:
+ case 6:
sprintf(buf, "%s JMP_%d\n\tjmp %%l1\nJMP_%d:", inv ? pos : neg, x, x);