It is a masculine name and one of the ancestors of some Welsh king from about the 8th century. For some reason I keep thinking there's a saint named Tergid. Clare