-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/06/11 08:46, Mohamed Shafi wrote: > Hi, > > I am doing a private port in GCC 4.5.1. For the my target i see some > strange behavior in delay slot scheduling. For my target the > instruction in the delay slots gets executed irrespective of whether > the branch is taken or not. I have generated the following code > after commenting out the call to 'relax_delay_slots' in the function > 'dbr_schedule'. [ ... ] It looks like you have found a bug. While reorg.c is supposed to work with targets that have multiple delay slots, it's not something that has been extensively tested.
>> > I think REGOUT dependency of g1 between instructions 38 and 43 in > the delay slot is not being considered by 'try_merge_delay_insns'. You're probably correct. Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOZjpZAAoJEBRtltQi2kC7Hq4H/1m6RaLUP+3RXCLT8zZgZ7YN i/8EmgGrjsJevsjWZEaIVW0yzjMwtQU0bwTVEj9aYEKFh4s9xAWWZfWYxy40StZs 8dp5cU9k672CNecI+tYNXFlZLqDhJ/YImwW/L9KvppeSo1VCXjjzLbVoJ2CrRBM4 eJw+PEk6yWwbz2bXvOfJr/1ziEvjGddLzet6eICv5ypqO+jKzC+FOaQl/I3sJCWO axforjfSUlthYGwYlRgHlJgrWfgRIG/AhAqhkhOqSWzcIdEzy2XFuL8ez6mOe7rW qeyeZwClTpPuCtBZ7vkfQ0+LZHa5pRZHXeO9GK+OGHFzUm8kS5eaAzCIAZP1J7E= =bfxg -----END PGP SIGNATURE-----