[PATCH - h8300] function_vector attribute in H8300 targets
Kazu Hirata
kazu@cs.umass.edu
Mon Sep 20 14:45:00 GMT 2004
Hi Asgari,
> @@ -1198,6 +1199,34 @@ print_operand (FILE *file, rtx x, int co
>
> switch (code)
> {
> + case 'C':
You need to update the comment just above cond_string() in h8300.c if
you are adding a new operand character.
> - { "function_vector", 0, 0, true, false, false, h8300_handle_fndecl_attribute },
> + { "function_vector", 1, 1, true, false, false, h8300_handle_function_vector_attribute },
If you are changing the number of arguments that the function_vector
attribute takes, that should be documented, possibly with an example.
> + "@
> + jsr %C0"
If you have a single alternative, you can just say "jsr %C0" in one
line.
Lastly, could you generate a patch for the mainline as well?
Thanks,
Kazu Hirata
More information about the Gcc-patches
mailing list