Peter Damron wrote: >> -- The stda syntax is assumed to be: >> stda %Frd, [%rs1 + %rs2] immasi i.e. stda >> %d0, [%l1 + %l2] 0x80 >> The closed library at least under certain >> circumstances does something like: >> stda %Frd, [%rs1] %rs2, immasi -- i.e. stda >> %f0, [%l1] %l2, 0x80 > > There is a different syntax for the partial store ASI's of the VIS extensions. > One of the integer registers is used to specify which bytes to store.
That syntax has been deprecated. If libdisasm is still printing that, it's a bug. The preferred syntax is stda fregrd, regrs2, [regrs1] imm_asi See, UA-2005 7.96, http://opensparc-t1.sunsource.net/specs/UA2005-current-draft-HP-EXT.pdf The original assembly language syntax for a Partial Store instruction (“stda fregrd, [regrs1] regrs2, imm_asi”) has been deprecated because of inconsistency with the rest of the SPARC assembly language. Over time, assemblers will support the new syntax for this instruction. In the meantime, some existing assemblers may only recognize the original syntax. > I believe the ASI's are 0xc0-0xc5 and 0xc8-0xcd. Right. Wayne(); _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org