added circ dep detection to AMD
full AMD compliance