Dimension-6 gluon operators as probes of new physics