[comp.os.minix] 386 assembler question

HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (12/29/90)

I have two problems with my 386 compiler:

- is test[bwl] %reg,%reg functionally equivalent to cmp[bwl] $0,%reg?
  (so the peephole optimizer changes cmp $0 to test

- is clr[bwl] a generic 386 instruction? Sun 'as' knows clr, so I changed
  mov $0 to clr, but gas (1.37) does not know the clr instruction.
  the peephole optimizer changes mov $0 to clr, but if it is all the same,
  it is not worth it.

C.v.W.