summaryrefslogtreecommitdiff
path: root/gcc/config/dsp16xx/dsp16xx.md
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-04 02:40:39 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-04 02:40:39 +0000
commita3b73381e6adbde434415eb606f681ae875bf0c2 (patch)
treee579e09abc940fe84b8a5b26cb42b617f7fe5510 /gcc/config/dsp16xx/dsp16xx.md
parent7e6b5e5494a3eb9df27b3857e950d0765c6a896c (diff)
downloadgcc-a3b73381e6adbde434415eb606f681ae875bf0c2.tar.gz
* convex.c (convex_output_function_prologue): Fix format specifier
warning. (asm_declare_function_name): Fix signed/unsigned warning. (print_operand): Fix format specifier warning. * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning. * dsp16xx-protos.h (uns_comparison_operator, num_1600_core_shifts): Prototype. * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h. (frame_size, frame_pointer_offset): Delete. (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue): Make static. Fix format specifier warnings. * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning. (EXTRA_SECTION_FUNCTIONS): Prototype const_section. * dsp16xx.md: Add default case in switches. * fr30.h (IN_RANGE): Delete. * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings. * mcore-protos.h (mcore_output_cmov): Const-ify. * mcore.c (mcore_output_cmov): Likewise. * mcore.h (switch_to_section): Make static and prototype. * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix unsigned>=0 warnings. * mn10300.h (REGNO_IN_RANGE_P): Likewise. * rs6000-protos.h (read_only_data_section, read_only_private_data_section): Prototype. * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning. * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED. * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46758 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/dsp16xx/dsp16xx.md')
-rw-r--r--gcc/config/dsp16xx/dsp16xx.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/config/dsp16xx/dsp16xx.md b/gcc/config/dsp16xx/dsp16xx.md
index 1f44420e38f..64a64fd032a 100644
--- a/gcc/config/dsp16xx/dsp16xx.md
+++ b/gcc/config/dsp16xx/dsp16xx.md
@@ -146,6 +146,8 @@
case 0:
case 1:
return \"%0&%1\";
+ default:
+ abort();
}
}"
[(set_attr "type" "f3_alu,f3_alu")])
@@ -551,6 +553,8 @@
case 2:
return \"*%0++\;*%0++\";
+ default:
+ abort();
}
case 2:
@@ -571,6 +575,8 @@
case 10:
case 11:
return \"%0=%b1+%H2\";
+ default:
+ abort();
}
}"
[(set_attr "type" "data_move_memory,data_move_multiple,f3_alu_i,f3_alu_i,f3_alu,f3_alu,f3_alu,f3_alu,f3_alu_i,f3_alu_i,f3_alu_i,f3_alu_i")])
@@ -684,6 +690,8 @@
case 7: case 8:
case 9: case 10:
return \"%0=%b1-%H2\";
+ default:
+ abort();
}
}"
[(set_attr "type" "data_move_multiple,f3_alu_i,f3_alu_i,f3_alu,f3_alu,f3_alu,f3_alu,f3_alu_i,f3_alu_i,f3_alu_i,f3_alu_i")])
@@ -1408,6 +1416,8 @@
case 8:
case 9:
return \"\";
+ default:
+ abort();
}
}"
[(set_attr "type" "special,data_move_multiple,f3_alu,data_move_multiple,data_move_multiple,data_move_multiple,data_move_multiple,data_move_multiple,nothing,nothing")])
@@ -1473,6 +1483,8 @@
case 9: case 10:
return \"%0=%1\";
+ default:
+ abort();
}
}"
[(set_attr "type" "data_move,data_move,data_move_short_i,data_move_i,data_move_memory,data_move_memory,data_move_memory,data_move_memory,nothing,malu,malu")])
@@ -1520,6 +1532,8 @@
case 9: case 10:
return \"%0=%1\";
+ default:
+ abort();
}
}"
[(set_attr "type" "data_move,data_move,data_move_short_i,data_move_i,data_move_memory,data_move_memory,data_move_memory,data_move_memory,nothing,malu,malu")])
@@ -1676,6 +1690,8 @@
case 5:
case 6:
return \"%u0=%u1\;%w0=%w1\";
+ default:
+ abort();
}
}"
[(set_attr "type" "move,move,load_i,load,store,load,store")])
@@ -1784,6 +1800,8 @@
;; return \"move %w0=%1\;%0=0\";
;; else
;; return \"%w0=%1\;%0=0\";
+;; default:
+;; abort();
;; }
;; }")
@@ -1836,6 +1854,8 @@
case 3:
return \"%0 = extractz(%m1, 0x1000)\";
+ default:
+ abort();
}
}"
[(set_attr "type" "data_move_2,data_move_2,data_move_2,shift_i")])
@@ -1864,6 +1884,8 @@
}
else
return \"%w0=%1\;%0=0\";
+ default:
+ abort();
}
}"
[(set_attr "type" "data_move_2,data_move_2,data_move_2")])