I am going to guess that no, they are not. According to another site with photos (partsnmore) the 76-81 use a different filter than the 82-84. That site is advertising one filter for 77-83, which, to me, doesn't make any sense. With the lack of photos I would not risk it without confirmation from someone else.
From here: http://www.partsnmore.com/parts/yamaha/xs400/ you can filter by year and see the pictures. I've ordered from here before as well.
From here: http://www.partsnmore.com/parts/yamaha/xs400/ you can filter by year and see the pictures. I've ordered from here before as well.