ChangeLog-2019 190 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884
  1. 2019-12-27 Jan Beulich <jbeulich@suse.com>
  2. * config/tc-i386.c (output_branch, output_jump,
  3. output_interseg_jump): Also emit skipped prefix warning in Intel
  4. syntax mode. Name instruction in the warning text.
  5. * testsuite/gas/i386/mpx-inval-1.l,
  6. testsuite/gas/i386/notrackbad.l,
  7. testsuite/gas/i386/x86-64-notrackbad.l: Adjust expectations.
  8. 2019-12-27 Jan Beulich <jbeulich@suse.com>
  9. * config/tc-i386.c (output_branch): Handle BND prefix the same
  10. way as other prefixes. Emit it last before REX.
  11. (output_jump): Emit BND before REX.
  12. (output_interseg_jump): Don't emit REX.
  13. * testsuite/gas/i386/x86-64-branch-2.s,
  14. testsuite/gas/i386/x86-64-branch-3.s,
  15. testsuite/gas/i386/x86-64-mpx-branch-1.s,
  16. testsuite/gas/i386/x86-64-mpx-branch-2.s: Add REX.W cases.
  17. * testsuite/gas/i386/x86-64-mpx-branch-2.d: Match output against
  18. x86-64-mpx-branch-1.d.
  19. * testsuite/gas/i386/x86-64-branch-2.d,
  20. testsuite/gas/i386/x86-64-branch-3.d,
  21. testsuite/gas/i386/x86-64-mpx-branch-1.d: Adjust expectations.
  22. 2019-12-27 Jan Beulich <jbeulich@suse.com>
  23. * config/tc-i386.c (flip_code16): New.
  24. (output_branch, output_jump): Use it.
  25. (i386_displacement): Restrict template set to just direct
  26. branches when handling a respective operand. Don't set Disp16
  27. when in Intel64 mode and there's a respective template.
  28. * testsuite/gas/i386/i386.exp: Convert x86-64-branch-3 from list
  29. to dump test. Drop its XFail again.
  30. * testsuite/gas/i386/x86-64-branch-3.d: New.
  31. * testsuite/gas/i386/x86-64-branch-3.l: Delete.
  32. * testsuite/gas/i386/x86-64-branch-3.s: Add XBEGIN case.
  33. 2019-12-27 Jan Beulich <jbeulich@suse.com>
  34. * config/tc-i386.c (i386_addressing_mode): Declare.
  35. (match_template): Don't transform displacement width flags for
  36. non-indirect branches. Re-write transformation logic.
  37. (i386_displacement): Also check BaseIndex when deciding whether
  38. an operand belongs to a direct branch. Restrict which DispNN get
  39. set.
  40. (i386_finalize_displacement): Set Disp8 for JumpByte templates.
  41. * config/tc-i386-intel.c (i386_intel_operand): Don't set Disp32
  42. for 64-bit addressing.
  43. * testsuite/gas/i386/i386.exp: XFail x86-64-branch-3.
  44. 2019-12-17 Alan Modra <amodra@gmail.com>
  45. * doc/as.texi: Remove mention of tic80.
  46. 2019-12-12 H.J. Lu <hongjiu.lu@intel.com>
  47. PR gas/25274
  48. * config/tc-i386.c (optimize_encoding): Also check R12-R15
  49. registers for "test $imm7, %r64/%r32/%r16 -> test $imm7, %r8"
  50. optimization.
  51. * testsuite/gas/i386/x86-64-optimize-3.s: Add tests for test
  52. with r12.
  53. * testsuite/gas/i386/x86-64-optimize-3.d: Updated.
  54. * testsuite/gas/i386/x86-64-optimize-3b.d: Likewise.
  55. 2019-12-12 H.J. Lu <hongjiu.lu@intel.com>
  56. * testsuite/gas/i386/align-branch-1.s: New file.
  57. * testsuite/gas/i386/align-branch-1a.d: Likewise.
  58. * testsuite/gas/i386/align-branch-1b.d: Likewise.
  59. * testsuite/gas/i386/align-branch-1c.d: Likewise.
  60. * testsuite/gas/i386/align-branch-1d.d: Likewise.
  61. * testsuite/gas/i386/align-branch-1e.d: Likewise.
  62. * testsuite/gas/i386/align-branch-1f.d: Likewise.
  63. * testsuite/gas/i386/align-branch-1g.d: Likewise.
  64. * testsuite/gas/i386/align-branch-1h.d: Likewise.
  65. * testsuite/gas/i386/align-branch-2.s: Likewise.
  66. * testsuite/gas/i386/align-branch-2a.d: Likewise.
  67. * testsuite/gas/i386/align-branch-2b.d: Likewise.
  68. * testsuite/gas/i386/align-branch-2c.d: Likewise.
  69. * testsuite/gas/i386/align-branch-3.d: Likewise.
  70. * testsuite/gas/i386/align-branch-3.s: Likewise.
  71. * testsuite/gas/i386/align-branch-4.s: Likewise.
  72. * testsuite/gas/i386/align-branch-4a.d: Likewise.
  73. * testsuite/gas/i386/align-branch-4b.d: Likewise.
  74. * testsuite/gas/i386/align-branch-5.d: Likewise.
  75. * testsuite/gas/i386/align-branch-5.s: Likewise.
  76. * testsuite/gas/i386/align-branch-6.d: Likewise.
  77. * testsuite/gas/i386/align-branch-6.s: Likewise.
  78. * testsuite/gas/i386/align-branch-7.d: Likewise.
  79. * testsuite/gas/i386/align-branch-7.s: Likewise.
  80. * testsuite/gas/i386/align-branch-8.d: Likewise.
  81. * testsuite/gas/i386/align-branch-8.s: Likewise.
  82. * testsuite/gas/i386/x86-64-align-branch-1.s: Likewise.
  83. * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
  84. * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
  85. * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
  86. * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
  87. * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
  88. * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
  89. * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
  90. * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
  91. * testsuite/gas/i386/x86-64-align-branch-2.s: Likewise.
  92. * testsuite/gas/i386/x86-64-align-branch-2a.d: Likewise.
  93. * testsuite/gas/i386/x86-64-align-branch-2b.d: Likewise.
  94. * testsuite/gas/i386/x86-64-align-branch-2c.d: Likewise.
  95. * testsuite/gas/i386/x86-64-align-branch-3.d: Likewise.
  96. * testsuite/gas/i386/x86-64-align-branch-3.s: Likewise.
  97. * testsuite/gas/i386/x86-64-align-branch-4.s: Likewise.
  98. * testsuite/gas/i386/x86-64-align-branch-4a.d: Likewise.
  99. * testsuite/gas/i386/x86-64-align-branch-4b.d: Likewise.
  100. * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
  101. * testsuite/gas/i386/x86-64-align-branch-6.d: Likewise.
  102. * testsuite/gas/i386/x86-64-align-branch-7.d: Likewise.
  103. * testsuite/gas/i386/x86-64-align-branch-7.s: Likewise.
  104. * testsuite/gas/i386/x86-64-align-branch-8.d: Likewise.
  105. * testsuite/gas/i386/x86-64-align-branch-8.s: Likewise.
  106. * testsuite/gas/i386/i386.exp: Run new tests.
  107. 2019-12-12 H.J. Lu <hongjiu.lu@intel.com>
  108. * config/tc-i386.c (OPTION_MBRANCHES_WITH_32B_BOUNDARIES): New.
  109. (md_longopts): Add -mbranches-within-32B-boundaries.
  110. (md_parse_option): Handle -mbranches-within-32B-boundaries.
  111. (md_show_usage): Add -mbranches-within-32B-boundaries.
  112. 2019-12-12 H.J. Lu <hongjiu.lu@intel.com>
  113. * config/tc-i386.c (_i386_insn): Add has_gotpc_tls_reloc.
  114. (tls_get_addr): New.
  115. (last_insn): New.
  116. (align_branch_power): New.
  117. (align_branch_kind): New.
  118. (align_branch_bit): New.
  119. (align_branch): New.
  120. (MAX_FUSED_JCC_PADDING_SIZE): New.
  121. (align_branch_prefix_size): New.
  122. (BRANCH_PADDING): New.
  123. (BRANCH_PREFIX): New.
  124. (FUSED_JCC_PADDING): New.
  125. (i386_generate_nops): Support BRANCH_PADDING and FUSED_JCC_PADDING.
  126. (md_begin): Abort if align_branch_prefix_size <
  127. MAX_FUSED_JCC_PADDING_SIZE.
  128. (md_assemble): Set last_insn.
  129. (maybe_fused_with_jcc_p): New.
  130. (add_fused_jcc_padding_frag_p): New.
  131. (add_branch_prefix_frag_p): New.
  132. (add_branch_padding_frag_p): New.
  133. (output_insn): Generate a BRANCH_PADDING, FUSED_JCC_PADDING or
  134. BRANCH_PREFIX frag and terminate each frag to align branches.
  135. (output_disp): Set i.has_gotpc_tls_reloc to TRUE for GOTPC and
  136. relaxable TLS relocations.
  137. (output_imm): Likewise.
  138. (i386_next_non_empty_frag): New.
  139. (i386_next_jcc_frag): New.
  140. (i386_classify_machine_dependent_frag): New.
  141. (i386_branch_padding_size): New.
  142. (i386_generic_table_relax_frag): New.
  143. (md_estimate_size_before_relax): Handle COND_JUMP_PADDING,
  144. FUSED_JCC_PADDING and COND_JUMP_PREFIX frags.
  145. (md_convert_frag): Handle BRANCH_PADDING, BRANCH_PREFIX and
  146. FUSED_JCC_PADDING frags.
  147. (OPTION_MALIGN_BRANCH_BOUNDARY): New.
  148. (OPTION_MALIGN_BRANCH_PREFIX_SIZE): New.
  149. (OPTION_MALIGN_BRANCH): New.
  150. (md_longopts): Add -malign-branch-boundary=,
  151. -malign-branch-prefix-size= and -malign-branch=.
  152. (md_parse_option): Handle -malign-branch-boundary=,
  153. -malign-branch-prefix-size= and -malign-branch=.
  154. (md_show_usage): Display -malign-branch-boundary=,
  155. -malign-branch-prefix-size= and -malign-branch=.
  156. (i386_target_format): Set tls_get_addr.
  157. (i386_cons_align): New.
  158. * config/tc-i386.h (i386_cons_align): New.
  159. (md_cons_align): New.
  160. (i386_generic_table_relax_frag): New.
  161. (md_generic_table_relax_frag): New.
  162. (i386_tc_frag_data): Add u, padding_address, length,
  163. max_prefix_length, prefix_length, default_prefix, cmp_size,
  164. classified and branch_type.
  165. (TC_FRAG_INIT): Initialize u, padding_address, length,
  166. max_prefix_length, prefix_length, default_prefix, cmp_size,
  167. classified and branch_type.
  168. * doc/c-i386.texi: Document -malign-branch-boundary=,
  169. -malign-branch= and -malign-branch-prefix-size=.
  170. 2019-12-12 H.J. Lu <hongjiu.lu@intel.com>
  171. * write.c (md_generic_table_relax_frag): New. Defined to
  172. relax_frag if not defined.
  173. (relax_segment): Call md_generic_table_relax_frag instead of
  174. relax_frag.
  175. 2019-12-12 Alan Modra <amodra@gmail.com>
  176. * config/tc-aarch64.c (get_aarch64_insn): Avoid signed overflow.
  177. * config/tc-metag.c (parse_dalu): Likewise.
  178. * config/tc-tic4x.c (md_pcrel_from): Likewise.
  179. * config/tc-tic6x.c (tic6x_output_unwinding): Likewise.
  180. * config/tc-csky.c (parse_fexp): Use an unsigned char temp buffer.
  181. Don't use register keyword. Avoid signed overflow and remove now
  182. unneccesary char masks. Formatting.
  183. * config/tc-ia64.c (operand_match): Don't use shifts to sign extend.
  184. * config/tc-mep.c (mep_apply_fix): Likewise.
  185. * config/tc-pru.c (md_apply_fix): Likewise.
  186. * config/tc-riscv.c (load_const): Likewise.
  187. * config/tc-nios2.c (md_apply_fix): Likewise. Don't potentially
  188. truncate fixup before right shift. Tidy BFD_RELOC_NIOS2_HIADJ16
  189. calculation.
  190. 2019-12-12 Alan Modra <amodra@gmail.com>
  191. * config/obj-evax.c (crc32, encode_32, encode_16, decode_16):
  192. Remove unnecessary prototypes.
  193. (number_of_codings): Delete, use ARRAY_SIZE instead throughout.
  194. (codings, decodings): Make arrays of unsigned char.
  195. (crc32): Use unsigned variables. Delete unnecessary mask.
  196. (encode_32, encode_16): Return unsigned char*, and make static
  197. buffer an unsigned char array.
  198. (decode_16): Make arg an unsigned char*. Remove useless casts.
  199. (shorten_identifier): Use unsigned char crc_chars.
  200. (is_truncated_identifier): Make ptr an unsigned char*.
  201. 2019-12-11 Wilco Dijkstra <wdijkstr@arm.com>
  202. * config/tc-arm.c (warn_on_restrict_it): Add new variable.
  203. (it_fsm_post_encode): Check warn_on_restrict_it.
  204. (arm_option_table): Add -mwarn-restrict-it/-mno-warn-restrict-it.
  205. * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: Add -mwarn-restrict-it.
  206. * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: Likewise.
  207. * testsuite/gas/arm/armv8-a-bad.d: Likewise.
  208. * testsuite/gas/arm/armv8-a-it-bad.d: Likewise.
  209. * testsuite/gas/arm/armv8-r-bad.d: Likewise.
  210. * testsuite/gas/arm/armv8-r-it-bad.d: Likewise.
  211. * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: Likewise.
  212. * testsuite/gas/arm/udf.d: Likewise.
  213. 2018-12-11 Jan Beulich <jbeulich@suse.com>
  214. * config/tc-i386.c (md_assemble): Extend SSE check conditional.
  215. * testsuite/gas/i386/sse-check.s: Add SSE4a and SHA tests.
  216. Extend GFNI tests.
  217. * testsuite/gas/i386/sse-check.d: Adjust expectations.
  218. * testsuite/gas/i386/sse-check-error.l,
  219. testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
  220. * testsuite/gas/i386/sse-check-warn.e: Likewise.
  221. 2019-12-10 Vladimir Murzin <vladimir.murzin@arm.com>
  222. * config/tc-arm.c (s_arm_arch): Set selected_ctx_ext_table.
  223. * testsuite/gas/arm/mve-arch-ext.s: New.
  224. * testsuite/gas/arm/mve-arch-ext.d: New.
  225. 2019-12-09 Jan Beulich <jbeulich@suse.com>
  226. * config/tc-i386-intel.c (O_oword_ptr): Move.
  227. (O_xmmword_ptr): Alias to O_oword_ptr.
  228. (O_fword_ptr, O_tbyte_ptr, O_ymmword_ptr, O_zmmword_ptr): Adjust
  229. expansion.
  230. (i386_intel_simplify, i386_intel_operand): Fold O_oword_ptr and
  231. O_xmmword_ptr cases, leaving comments.
  232. 2019-12-09 Jan Beulich <jbeulich@suse.com>
  233. * config/tc-i386-intel.c (O_mmword_ptr): Define.
  234. (i386_types): Add mmword entry.
  235. (i386_intel_simplify, i386_intel_operand): Add comment.
  236. * testsuite/gas/i386/intel-expr.s: Also test mmword and zmmword.
  237. * testsuite/gas/i386/intelok.s: Also test "mmword ptr".
  238. * testsuite/gas/i386/intel-expr.d, testsuite/gas/i386/intelok.d,
  239. testsuite/gas/i386/intelok.e: Adjust expectations.
  240. 2019-12-09 Jan Beulich <jbeulich@suse.com>
  241. * config/tc-i386-intel.c (i386_intel_operand): Set "byte"
  242. attribute suffix instead of suffix for floating point insns when
  243. handling O_near_ptr / O_far_ptr.
  244. * testsuite/gas/i386/intelbad.s: Add FPU tests.
  245. * testsuite/gas/i386/intelbad.l: Adjust expectations.
  246. 2019-12-09 Jan Beulich <jbeulich@suse.com>
  247. * config/tc-i386-intel.c (i386_intel_operand): Set "byte"
  248. attribute suffix instead of suffix uniformly for insns not
  249. possibly accepting "tbyte ptr" explicitly.
  250. 2019-12-09 Jan Beulich <jbeulich@suse.com>
  251. * config/tc-i386-intel.c (i386_intel_operand): Don't set suffix
  252. for floating point insns when handling O_fword_ptr.
  253. 2019-12-09 Jan Beulich <jbeulich@suse.com>
  254. * config/tc-i386-intel.c (i386_intel_operand): Don't special
  255. case LDS et al when handling O_word_ptr.
  256. 2019-12-08 Alan Modra <amodra@gmail.com>
  257. * testsuite/gas/aarch64/bfloat16.d: Match 32-bit and 64-bit output.
  258. * testsuite/gas/aarch64/dgh.d: Likewise.
  259. * testsuite/gas/aarch64/f32mm.d: Likewise.
  260. * testsuite/gas/aarch64/f64mm.d: Likewise.
  261. * testsuite/gas/aarch64/i8mm.d: Likewise.
  262. * testsuite/gas/aarch64/pac_ab_key.d: Likewise.
  263. * testsuite/gas/aarch64/pac_negate_ra_state.d: Likewise.
  264. * testsuite/gas/aarch64/reloc-prel_g0.d: Likewise.
  265. * testsuite/gas/aarch64/reloc-prel_g0_nc.d: Likewise.
  266. * testsuite/gas/aarch64/reloc-prel_g1.d: Likewise.
  267. * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Likewise.
  268. * testsuite/gas/aarch64/sve-movprfx-mm.d: Likewise.
  269. * testsuite/gas/aarch64/sve2.d: Likewise.
  270. 2019-12-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
  271. * dw2gencfi.c (cfi_pseudo_table): Add cfi_negate_ra_state.
  272. * testsuite/gas/aarch64/pac_negate_ra_state.s: New file.
  273. * testsuite/gas/aarch64/pac_negate_ra_state.d: Likewise.
  274. 2019-12-05 Jan Beulich <jbeulich@suse.com>
  275. * config/tc-aarch64.c (aarch64_features): Drop redundant AES and
  276. SHA2 flags from "crypto" entry.
  277. 2019-12-05 Jan Beulich <jbeulich@suse.com>
  278. * config/tc-aarch64.c (aarch64_features): Make SHA2 a prereq of
  279. SHA3.
  280. * testsuite/gas/aarch64/crypto.s
  281. * testsuite/gas/aarch64/crypto-directive.d: Refer to crypto.d
  282. for actual output.
  283. * testsuite/gas/aarch64/illegal-crypto-nofp.l: Relax
  284. expectations.
  285. * testsuite/gas/aarch64/crypto-directive2.d,
  286. testsuite/gas/aarch64/crypto-directive3.d: New.
  287. 2019-12-04 Jan Beulich <jbeulich@suse.com>
  288. * config/tc-i386-intel.c (i386_intel_operand): Handle LFS et al
  289. as well as LGDT at al when processing O_tbyte_ptr.
  290. * testsuite/gas/i386/intelbad.s: Add LDS et al cases.
  291. * testsuite/gas/i386/x86-64-intel64.s,
  292. * testsuite/gas/i386/x86-64-opcode.s: Add LFS et al cases.
  293. * testsuite/gas/i386/ilp32/x86-64-intel64.d: Add -mintel64
  294. command line option and fold expectations with parent dir test.
  295. * testsuite/gas/i386/x86-64-intel64.d: Add -mintel64 command
  296. line option and adjust expectations.
  297. * testsuite/gas/i386/intelbad.l,
  298. testsuite/gas/i386/x86-64-opcode.d: Adjust expectations.
  299. 2019-12-04 Jan Beulich <jbeulich@suse.com>
  300. * config/tc-i386-intel.c (i386_intel_operand): Also handle DWORD
  301. with 64-bit mode branches.
  302. * testsuite/gas/i386/x86-64-jump.s: Extend Intel syntax branch
  303. operand coverage.
  304. * testsuite/gas/i386/x86-64-jump.d: Adjust expectations.
  305. 2019-12-04 Jan Beulich <jbeulich@suse.com>
  306. * config/tc-i386.c (output_insn): Don't consider Cpu* settings
  307. when setting GNU_PROPERTY_X86_FEATURE_2_MMX.
  308. 2019-12-04 Jan Beulich <jbeulich@suse.com>
  309. * testsuite/gas/i386/movdir.s: Add Intel syntax case with
  310. operand size specifier.
  311. * testsuite/gas/i386/x86-64-movdir.s: Add Intel syntax cases
  312. with operand size specifier and wit 32-bit operands.
  313. * testsuite/gas/i386/movdir-intel.d,
  314. testsuite/gas/i386/movdir.d,
  315. testsuite/gas/i386/x86-64-movdir-intel.d,
  316. testsuite/gas/i386/x86-64-movdir.d: Adjust expectations.
  317. 2019-12-04 Jan Beulich <jbeulich@suse.com>
  318. * config/tc-i386.c (process_suffix): Arrange for insns with a
  319. single non-GPR register operand to not have its suffix guessed
  320. from GPR operands. Extend DefaultSize handling to cover PUSH/POP
  321. of segment registers.
  322. * testsuite/gas/i386/general.s: Add PUSH/POP sreg to .code16gcc
  323. set of insns.
  324. * testsuite/gas/i386/general.l: Adjust expectations.
  325. 2019-12-04 Jan Beulich <jbeulich@suse.com>
  326. * config/tc-i386.c (process_suffix): Exclude SYSRET alongside
  327. FLDENV et al.
  328. * testsuite/gas/i386/general.s: Expand .code16gcc set of insns.
  329. * testsuite/gas/i386/general.l: Adjust expectations.
  330. 2019-11-22 Andrew Burgess <andrew.burgess@embecosm.com>
  331. * as.c (flag_dwarf_cie_version): Change initial value to -1, and
  332. update comment.
  333. * config/tc-riscv.c (riscv_after_parse_args): Set
  334. flag_dwarf_cie_version if it has not already been set.
  335. * dwarf2dbg.c (dwarf2_init): Initialise flag_dwarf_cie_version if
  336. needed.
  337. * testsuite/gas/riscv/default-cie-version.d: New file.
  338. * testsuite/gas/riscv/default-cie-version.s: New file.
  339. 2019-11-22 Andrew Burgess <andrew.burgess@embecosm.com>
  340. * dw2gencfi.c (output_cie): Error on return column overflow.
  341. * testsuite/gas/riscv/cie-rtn-col-1.d: New file.
  342. * testsuite/gas/riscv/cie-rtn-col-3.d: New file.
  343. * testsuite/gas/riscv/cie-rtn-col.s: New file.
  344. 2019-11-22 Andrew Burgess <andrew.burgess@embecosm.com>
  345. * config/tc-riscv.c (tc_riscv_regname_to_dw2regnum): Lookup CSR
  346. names too.
  347. * testsuite/gas/riscv/csr-dw-regnums.d: New file.
  348. * testsuite/gas/riscv/csr-dw-regnums.s: New file.
  349. 2019-11-22 Andrew Burgess <andrew.burgess@embecosm.com>
  350. * config/tc-riscv.c (struct regname): Delete.
  351. (hash_reg_names): Handle value as 'void *'.
  352. 2019-11-25 Andrew Pinski <apinski@marvell.com>
  353. * config/tc-aarch64.c (md_begin): Use correct
  354. hash table for uppercase version of hint.
  355. * testsuite/gas/aarch64/system-2.s: Extend psb case to uppercase.
  356. * testsuite/gas/aarch64/system-2.d: Update.
  357. 2019-11-25 Christian Eggers <ceggers@gmx.de>
  358. * as.h: Define SEC_OCTETS as SEC_ELF_OCTETS if OBJ_ELF.
  359. * dwarf2dbg.c: (dwarf2_finish): Set section flag SEC_OCTETS for
  360. .debug_line, .debug_info, .debug_abbrev, .debug_aranges, .debug_str
  361. and .debug_ranges sections.
  362. * write.c (maybe_generate_build_notes): Set section flag
  363. SEC_OCTETS for .gnu.build.attributes section.
  364. * frags.c (frag_now_fix): Don't divide by OCTETS_PER_BYTE if
  365. SEC_OCTETS is set.
  366. * symbols.c (resolve_symbol_value): Likewise.
  367. 2019-11-25 Christian Eggers <ceggers@gmx.de>
  368. * dwarf2dbg.c (out_set_addr): Revert 2019-03-13 change.
  369. (out_debug_line, out_debug_aranges, out_debug_info): Likewise.
  370. * symbols.h (symbol_set_value_now_octets, symbol_octets_p): Remove.
  371. * symbols.c (struct symbol_flags): Remove member sy_octets.
  372. (symbol_temp_new_now_octets): Don't set symbol_flags::sy_octets.
  373. (resolve_symbol_value): Revert: Return octets instead of bytes if
  374. sy_octets is set.
  375. (symbol_set_value_now_octets): Remove.
  376. (symbol_octets_p): Remove.
  377. 2019-11-22 Mihail Ionescu <mihail.ionescu@arm.com>
  378. * config/tc-arm.c (arm_ext_crc): New.
  379. (crc_ext_armv8): Remove.
  380. (insns): Rename crc_ext_armv8 to arm_ext_crc.
  381. (arm_cpus): Replace CRC_EXT_ARMV8 with ARM_EXT2_CRC.
  382. (armv8a_ext_table, armv8r_ext_table,
  383. arm_option_extension_value_table): Redefine the crc
  384. extension in terms of ARM_EXT2_CRC.
  385. * gas/testsuite/gas/arm/crc-ext.s: New.
  386. * gas/testsuite/gas/arm/crc-ext.d: New.
  387. 2019-11-20 Alan Modra <amodra@gmail.com>
  388. PR 24944
  389. * atof-generic.c (atof_generic): Increase decimal guard digits.
  390. * testsuite/gas/i386/fp.s: Add more tests.
  391. * testsuite/gas/i386/fp.d: Update.
  392. 2019-11-18 Andrew Burgess <andrew.burgess@embecosm.com>
  393. * as.c (parse_args): Parse --gdwarf-cie-version option.
  394. (flag_dwarf_cie_version): New variable.
  395. * as.h (flag_dwarf_cie_version): Declare.
  396. * dw2gencfi.c (output_cie): Switch from DW_CIE_VERSION to
  397. flag_dwarf_cie_version.
  398. * doc/as.texi (Overview): Document --gdwarf-cie-version.
  399. * NEWS: Likewise.
  400. * testsuite/gas/cfi/cfi.exp: Add new tests.
  401. * testsuite/gas/cfi/cie-version-0.d: New file.
  402. * testsuite/gas/cfi/cie-version-1.d: New file.
  403. * testsuite/gas/cfi/cie-version-2.d: New file.
  404. * testsuite/gas/cfi/cie-version-3.d: New file.
  405. * testsuite/gas/cfi/cie-version-4.d: New file.
  406. * testsuite/gas/cfi/cie-version.s: New file.
  407. 2019-11-14 Jan Beulich <jbeulich@suse.com>
  408. * config/tc-i386.c (operand_size_match, md_assemble,
  409. parse_insn, match_template, process_suffix, output_jump,
  410. output_insn, i386_displacement): Adjust jump* field use/
  411. handling.
  412. * config/tc-i386-intel.c (i386_intel_operand): Likewise.
  413. 2019-11-14 Jan Beulich <jbeulich@suse.com>
  414. * config/tc-i386.c (struct _i386_insn): Add jumpabsolute field.
  415. (operand_type_match): Drop jumpabsolute use.
  416. (type_names): Remove OPERAND_TYPE_JUMPABSOLUTE entry.
  417. (process_suffix, i386_displacement): Adjust jumpabsolute uses.
  418. (match_template, i386_att_operand): Adjust jumpabsolute
  419. handling.
  420. * config/tc-i386-intel.c (i386_intel_operand): Likewise.
  421. 2019-11-14 Jan Beulich <jbeulich@suse.com>
  422. * config/tc-i386.c (operand_size_match): Adjust anysize use.
  423. 2019-11-14 Jan Beulich <jbeulich@suse.com>
  424. * testsuite/gas/i386/intel-cmps32.d,
  425. testsuite/gas/i386/intel-cmps64.d: Correct regexp closing
  426. parentheses placement.
  427. 2019-11-14 Jan Beulich <jbeulich@suse.com>
  428. * testsuite/gas/i386/intel-cmps.s,
  429. testsuite/gas/i386/intel-movs.s: Extend.
  430. * testsuite/gas/i386/intel-cmps32.d,
  431. testsuite/gas/i386/intel-cmps64.d,
  432. testsuite/gas/i386/intel-movs32.d,
  433. testsuite/gas/i386/intel-movs64.d: Adjust expectations.
  434. * testsuite/gas/i386/intel-cmps16.d,
  435. testsuite/gas/i386/intel-movs16.d: New.
  436. * testsuite/gas/i386/i386.exp: Run new tests.
  437. 2019-11-12 Nelson Chu <nelson.chu@sifive.com>
  438. * testsuite/gas/riscv/insn.d: Add the f extension to -march option.
  439. 2019-11-12 Mihail Ionescu <mihail.ionescu@arm.com>
  440. * config/tc-arm.c (do_vfp_nsyn_push): Move in order to enable it for
  441. both fpu_vfp_ext_v1xd and mve_ext and add call to the aliased vstm
  442. instruction for mve_ext.
  443. (do_vfp_nsyn_pop): Move in order to enable it for both
  444. fpu_vfp_ext_v1xd and mve_ext and add call to the aliased vldm
  445. instruction for mve_ext.
  446. (do_neon_ldm_stm): Add fpu_vfp_ext_v1 and mve_ext checks.
  447. (insns): Enable vldm, vldmia, vldmdb, vstm, vstmia, vstmdb, vpop,
  448. vpush, and fldd, fstd, flds, fsts for arm_ext_v6t2 instead
  449. of fpu_vfp_ext_v1xd.
  450. * testsuite/gas/arm/v8_1m-mve.s: New.
  451. * testsuite/gas/arm/v8_1m-mve.d: New.
  452. 2019-11-12 Mihail Ionescu <mihail.ionescu@arm.com>
  453. * gas/config/tc-arm.c (do_neon_mvn): Allow mve_ext cmode=0xd.
  454. * testsuite/gas/arm/mve-vmov-vmvn-vorr-vbic.s: New test.
  455. * testsuite/gas/arm/mve-vmov-vmvn-vorr-vbic.d: Likewise.
  456. 2019-11-12 Mihail Ionescu <mihail.ionescu@arm.com>
  457. * config/tc-arm.c (s_arm_fpu): Clear selected_cpu fpu bits.
  458. (fpu_any): Remove OBJ_ELF guards.
  459. * testsuite/gas/arm/fpu-rst.s: New.
  460. * testsuite/gas/arm/fpu-rst.d: New.
  461. * testsuite/gas/arm/fpu-rst.l: New.
  462. 2019-11-12 Jan Beulich <jbeulich@suse.com>
  463. * config/tc-i386.c (type_names): Remove OPERAND_TYPE_ESSEG
  464. entry.
  465. (md_assemble): Adjust isstring field use. Add assertion.
  466. (check_string): Mostly re-write.
  467. (i386_index_check): Adjust isstring field use and related code.
  468. 2019-11-12 Jan Beulich <jbeulich@suse.com>
  469. * config/tc-i386.c (process_immext): Remove SSE3, SVME, and
  470. MWAITX special case logic.
  471. (process_suffix): Replace immext field uses by instance ones.
  472. * testsuite/gas/i386/arch-13.s,
  473. testsuite/gas/i386/x86-64-arch-3.s: Add CLZERO with operand
  474. cases.
  475. * testsuite/gas/i386/svme.s: Add 16-bit operand cases.
  476. * testsuite/gas/i386/x86-64-specific-reg.s: Drop FIXME comments.
  477. * testsuite/gas/i386/arch-13.d,
  478. testsuite/gas/i386/mwaitx-reg.l, testsuite/gas/i386/svme.d,
  479. testsuite/gas/i386/x86-64-arch-3.d,
  480. testsuite/gas/i386/x86-64-mwaitx-reg.l,
  481. testsuite/gas/i386/x86-64-specific-reg.l: Adjust expectations.
  482. 2019-11-12 Jan Beulich <jbeulich@suse.com>
  483. * config/tc-i386.c (operand_type_set, operand_type_and,
  484. operand_type_and_not, operand_type_or, operand_type_xor): Handle
  485. "instance" field specially.
  486. (operand_size_match, md_assemble, match_template, process_suffix,
  487. check_byte_reg, check_long_reg, check_qword_reg, check_word_reg,
  488. process_operands, build_modrm_byte): Use "instance" instead of
  489. "acc" / "inoutportreg" / "shiftcount" fields.
  490. (optimize_imm): Adjust comment.
  491. 2019-11-11 Jan Beulich <jbeulich@suse.com>
  492. * testsuite/gas/aarch64/illegal-sve2.s: Add smaxp/sminp cases
  493. with mismatched 1st and 3rd operands.
  494. * testsuite/gas/aarch64/illegal-sve2.l: Adjust expectations.
  495. 2019-11-08 H.J. Lu <hongjiu.lu@intel.com>
  496. PR gas/25167
  497. * config/tc-i386.c (match_template): Don't check instruction
  498. suffix set from operand.
  499. * testsuite/gas/i386/code16.d: New file.
  500. * testsuite/gas/i386/code16.s: Likewise.
  501. * testsuite/gas/i386/i386.exp: Run code16.
  502. 2019-11-08 Jan Beulich <jbeulich@suse.com>
  503. * config/tc-i386.c (optimize_encoding, build_modrm_byte,
  504. check_VecOperations, parse_real_register): Use "class" instead
  505. of "regmask" and "regbnd" fields.
  506. 2019-11-08 Jan Beulich <jbeulich@suse.com>
  507. * config/tc-i386.c (match_mem_size, operand_size_match,
  508. operand_type_register_match, pi, check_VecOperands, match_template,
  509. check_byte_reg, check_long_reg, check_qword_reg, process_operands,
  510. build_modrm_byte, parse_real_register): Use "class" instead of
  511. "regsimd" / "regmmx" fields.
  512. 2019-11-08 Jan Beulich <jbeulich@suse.com>
  513. * config/tc-i386.c (pi, check_byte_reg, build_modrm_byte,
  514. parse_real_register): Use "class" instead of "control"/"debug"/
  515. "test" fields.
  516. 2019-11-08 Jan Beulich <jbeulich@suse.com>
  517. * config/tc-i386.c (pi, check_byte_reg, process_operands,
  518. build_modrm_byte, i386_att_operand, parse_real_register): Use
  519. "class" instead of "sreg" field.
  520. * config/tc-i386-intel.c (i386_intel_simplify_register,
  521. i386_intel_operand): Likewise.
  522. 2019-11-08 Jan Beulich <jbeulich@suse.com>
  523. * config/tc-i386.c (operand_type_set, operand_type_and,
  524. operand_type_and_not, operand_type_or, operand_type_xor): Handle
  525. "class" field specially.
  526. (anyimm): New.
  527. (operand_type_check, operand_size_match,
  528. operand_type_register_match, pi, md_assemble, is_short_form,
  529. process_suffix, check_byte_reg, check_long_reg, check_qword_reg,
  530. check_word_reg, process_operands, build_modrm_byte): Use "class"
  531. instead of "reg" field.
  532. (optimize_imm): Likewise. Reduce redundancy. Adjust calculation
  533. of "allowed".
  534. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  535. * testsuite/gas/aarch64/dgh.s: New test.
  536. * testsuite/gas/aarch64/dgh.d: New test.
  537. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  538. * config/tc-arm.c (arm_ext_i8mm): New feature set.
  539. (do_vusdot): New.
  540. (do_vsudot): New.
  541. (do_vsmmla): New.
  542. (do_vummla): New.
  543. (insns): Add vsmmla, vummla, vusmmla, vusdot, vsudot mnemonics.
  544. (armv86a_ext_table): Add i8mm extension.
  545. (arm_extensions): Move bf16 extension to context sensitive table.
  546. (armv82a_ext_table, armv84a_ext_table, armv85a_ext_table):
  547. Move bf16 extension to context sensitive table.
  548. (armv86a_ext_table): Add i8mm extension.
  549. * doc/c-arm.texi: Document i8mm extension.
  550. * testsuite/gas/arm/i8mm.s: New test.
  551. * testsuite/gas/arm/i8mm.d: New test.
  552. * testsuite/gas/arm/bfloat17-cmdline-bad-3.d: Update test.
  553. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  554. * config/tc-aarch64.c: Add new arch fetures to suppport the mm extension.
  555. (parse_operands): Add new operand.
  556. * testsuite/gas/aarch64/i8mm.s: New test.
  557. * testsuite/gas/aarch64/i8mm.d: New test.
  558. * testsuite/gas/aarch64/f32mm.s: New test.
  559. * testsuite/gas/aarch64/f32mm.d: New test.
  560. * testsuite/gas/aarch64/f64mm.s: New test.
  561. * testsuite/gas/aarch64/f64mm.d: New test.
  562. * testsuite/gas/aarch64/sve-movprfx-mm.s: New test.
  563. * testsuite/gas/aarch64/sve-movprfx-mm.d: New test.
  564. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  565. 2019-11-07 Barnaby Wilks <barnaby.wilks@arm.com>
  566. * config/tc-aarch64.c (md_atof): Add encoding for the bfloat16 format.
  567. * testsuite/gas/aarch64/bfloat16-directive-le.d: New test.
  568. * testsuite/gas/aarch64/bfloat16-directive-be.d: New test.
  569. * testsuite/gas/aarch64/bfloat16-directive.s: New test.
  570. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  571. 2019-11-07 Barnaby Wilks <barnaby.wilks@arm.com>
  572. * config/tc-arm.c (md_atof): Add encoding for bfloat16
  573. * testsuite/gas/arm/bfloat16-directive-le.d: New test.
  574. * testsuite/gas/arm/bfloat16-directive-be.d: New test.
  575. * testsuite/gas/arm/bfloat16-directive.s: New test.
  576. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  577. 2019-11-07 Barnaby Wilks <barnaby.wilks@arm.com>
  578. * as.h (atof_ieee_detail): Add prototype for atof_ieee_detail function.
  579. (atof_ieee): Move some code into the atof_ieee_detail function.
  580. (atof_ieee_detail): Add function that provides a higher level of
  581. control over generating IEEE-like numbers.
  582. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  583. 2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com>
  584. * config/tc-arm.c (arm_archs): Add armv8.6-a option.
  585. (cpu_arch_ver): Add TAG_CPU_ARCH_V8 tag for Armv8.6-a.
  586. * doc/c-arm.texi (-march): New armv8.6-a arch.
  587. * config/tc-arm.c (arm_ext_bf16): New feature set.
  588. (enum neon_el_type): Add NT_bfloat value.
  589. (B_MNEM_vfmat, B_MNEM_vfmab): New bfloat16 encoder
  590. helpers.
  591. (BAD_BF16): New message.
  592. (parse_neon_type): Add bf16 type specifier.
  593. (enum neon_type_mask): Add N_BF16 type.
  594. (type_chk_of_el_type): Account for NT_bfloat.
  595. (el_type_of_type_chk): Account for N_BF16.
  596. (neon_three_args): Split out from neon_three_same.
  597. (neon_three_same): Part split out into neon_three_args.
  598. (CVT_FLAVOUR_VAR): Add bf16_f32 cvt flavour.
  599. (do_neon_cvt_1): Account for vcvt.bf16.f32.
  600. (do_bfloat_vmla): New.
  601. (do_mve_vfma): New function to deal with the mnemonic clash between the BF16
  602. vfmat and the MVE vfma in a VPT block with a 't'rue condition.
  603. (do_neon_cvttb_1): Account for vcvt{t,b}.bf16.f32.
  604. (do_vdot): New
  605. (do_vmmla): New
  606. (insns): Add vdot and vmmla mnemonics.
  607. (arm_extensions): Add "bf16" extension.
  608. * doc/c-arm.texi: Document "bf16" extension.
  609. * testsuite/gas/arm/attr-march-armv8_6-a.d: New test.
  610. * testsuite/gas/arm/bfloat16-bad.d: New test.
  611. * testsuite/gas/arm/bfloat16-bad.l: New test.
  612. * testsuite/gas/arm/bfloat16-bad.s: New test.
  613. * testsuite/gas/arm/bfloat16-cmdline-bad-2.d: New test.
  614. * testsuite/gas/arm/bfloat16-cmdline-bad-3.d: New test.
  615. * testsuite/gas/arm/bfloat16-cmdline-bad.d: New test.
  616. * testsuite/gas/arm/bfloat16-neon.s: New test.
  617. * testsuite/gas/arm/bfloat16-non-neon.s: New test.
  618. * testsuite/gas/arm/bfloat16-thumb-bad.d: New test.
  619. * testsuite/gas/arm/bfloat16-thumb-bad.l: New test.
  620. * testsuite/gas/arm/bfloat16-thumb.d: New test.
  621. * testsuite/gas/arm/bfloat16-vfp.d: New test.
  622. * testsuite/gas/arm/bfloat16.d: New test.
  623. * testsuite/gas/arm/bfloat16.s: New test.
  624. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  625. 2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com>
  626. * config/tc-aarch64.c (vectype_to_qualifier): Special case the
  627. S_2H operand qualifier.
  628. * doc/c-aarch64.texi: Document bf16 extension.
  629. * testsuite/gas/aarch64/bfloat16.d: New test.
  630. * testsuite/gas/aarch64/bfloat16.s: New test.
  631. * testsuite/gas/aarch64/illegal-bfloat16.d: New test.
  632. * testsuite/gas/aarch64/illegal-bfloat16.l: New test.
  633. * testsuite/gas/aarch64/illegal-bfloat16.s: New test.
  634. * testsuite/gas/aarch64/sve-bfloat-movprfx.s: New test.
  635. * testsuite/gas/aarch64/sve-bfloat-movprfx.d: New test.
  636. 2019-11-07 Mihail Ionescu <mihail.ionescu@arm.com>
  637. 2019-11-07 Matthew Malcomson <matthew.malcomson@arm.com>
  638. * config/tc-aarch64.c (armv8.6-a): New arch.
  639. * doc/c-aarch64.texi (armv8.6-a): Document new arch.
  640. 2019-11-07 Jan Beulich <jbeulich@suse.com>
  641. * config/tc-i386.c (cpu_arch): Add .rdpru and .mcommit entries.
  642. * doc/c-i386.texi: Mention rdpru and mcommit.
  643. * testsuite/gas/i386/arch-13.s,
  644. testsuite/gas/i386/x86-64-arch-3.s: Add mcommit and rdpru cases.
  645. * testsuite/gas/i386/arch-13.d,
  646. testsuite/gas/i386/x86-64-arch-3.d: Extend -march=. Adjust
  647. expectations.
  648. * testsuite/gas/i386/arch-13-znver1.d: Extend -march=. Redirect
  649. expectations to arch-13.d.
  650. * testsuite/gas/i386/arch-13-znver2.d: Redirect expectations to
  651. arch-13.d.
  652. testsuite/gas/i386/x86-64-arch-3-znver1.d: Extend -march=.
  653. 2019-11-07 Jan Beulich <jbeulich@suse.com>
  654. * testsuite/gas/i386/x86-64-arch-3.s: Add monitorx/mwaitx cases
  655. with canonical operand sizes.
  656. * testsuite/gas/i386/x86-64-sse3.s: Add monitor/mwait cases with
  657. canonical operand sizes.
  658. * testsuite/gas/i386/x86-64-arch-3-znver1.d,
  659. testsuite/gas/i386/x86-64-arch-3-znver2.d: Redirect expectations
  660. to x86-64-arch-3.d.
  661. * testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Redirect
  662. expectations to parent dir's x86-64-sse-noavx.d.
  663. * testsuite/gas/i386/ilp32/x86-64-sse3.d: Redirect expectations
  664. to to parent dir's x86-64-sse3.d.
  665. * testsuite/gas/i386/x86-64-arch-3.d,
  666. testsuite/gas/i386/x86-64-mwaitx-bdver4.d,
  667. testsuite/gas/i386/x86-64-sse-noavx.d,
  668. testsuite/gas/i386/x86-64-sse3.d,
  669. testsuite/gas/i386/x86-64-suffix.d: Adjust expectations.
  670. 2019-11-04 Jan Beulich <jbeulich@suse.com>
  671. * config/tc-i386.c (process_operands): Handle ShortForm insns
  672. later, splitting out their segment register sub-form.
  673. 2019-10-31 H.J. Lu <hongjiu.lu@intel.com>
  674. * testsuite/gas/i386/general.s: Add .code16gcc fldenv tests.
  675. * testsuite/gas/i386/general.l: Updated.
  676. 2019-10-31 Mihail Ionescu <mihail.ionescu@arm.com>
  677. * config/tc-arm.c (selected_ctx_ext_table) New static variable.
  678. (arm_parse_arch): Set context sensitive extension table based on the
  679. chosen base architecture.
  680. (s_arm_arch_extension): Change to lookup extensions in the new context
  681. sensitive tables.
  682. * gas/testsuite/gas/arm/mve-ext.s: New.
  683. * gas/testsuite/gas/arm/mve-ext.d: New.
  684. * gas/testsuite/gas/arm/mvefp-ext.s: New.
  685. * gas/testsuite/gas/arm/mvefp-ext.d: New.
  686. 2019-10-30 Delia Burduv <Delia.Burduv@arm.com>
  687. * config/tc-aarch64.c (parse_address_main): Accept the omission of
  688. the immediate argument for ldraa and ldrab as a shorthand for the
  689. immediate being 0.
  690. * testsuite/gas/aarch64/ldraa-ldrab-no-offset.d: New test.
  691. * testsuite/gas/aarch64/ldraa-ldrab-no-offset.s: New test.
  692. * testsuite/gas/aarch64/illegal-ldraa.s: Modified to accept the
  693. writeback form with no offset.
  694. * testsuite/gas/aarch64/illegal-ldraa.s: Removed missing offset
  695. error.
  696. 2019-10-30 Jan Beulich <jbeulich@suse.com>
  697. * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.s,
  698. testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.s,
  699. testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.s: New.
  700. * testsuite/gas/i386/i386.exp: Run new tests.
  701. 2019-10-30 Jan Beulich <jbeulich@suse.com>
  702. * config/tc-i386.c (optimize_encoding): Adjust opcodes compared
  703. against. Adjust replacement opcode and clear .w.
  704. 2019-10-29 Alan Modra <amodra@gmail.com>
  705. PR 25125
  706. * dw2gencfi.c (output_cfi_insn): Don't allow DW_CFA_advance_loc4
  707. to be placed in a different frag to the rs_cfa.
  708. 2019-10-26 John David Anglin <danglin@gcc.gnu.org>
  709. PR gas/25121
  710. * config/tc-hppa.c (tc_gen_reloc): Cast some enums to int.
  711. (md_assemble): Likewise.
  712. 2019-10-26 Alan Modra <amodra@gmail.com>
  713. PR 25125
  714. * dw2gencfi.c (output_cfi_insn): Don't output DW_CFA_advance_loc+0.
  715. * ehopt.c (eh_frame_estimate_size_before_relax): Return -1 for
  716. an advance_loc of zero.
  717. (eh_frame_relax_frag): Translate fr_subtype of 7 to size -1.
  718. (eh_frame_convert_frag): Handle fr_subtype of 7. Abort on
  719. unexpected fr_subtype.
  720. 2019-10-25 Alan Modra <amodra@gmail.com>
  721. PR gas/25125
  722. PR gas/12049
  723. * write.c (relax_frag): Correct calculation of delta for
  724. positive branches where "stretch" would make the branch
  725. negative. Return zero immediately in that case. Correct
  726. TC_PCREL_ADJUST comment.
  727. 2019-10-16 Alan Modra <amodra@gmail.com>
  728. * config/tc-xtensa.c (xg_order_trampoline_chain_entry): Don't
  729. call S_GET_VALUE multiple times for a symbol. Rearrange code
  730. so it is obvious what is the primary sort key.
  731. (xg_order_trampoline_chain): Similarly.
  732. 2019-10-15 Alan Modra <amodra@gmail.com>
  733. * config/tc-nds32.c (nds32_set_section_relocs): Use relocs and n
  734. parameters rather than equivalent sec->orelocation and
  735. sec->reloc_count. Don't sort for n <= 1. Tidy.
  736. 2019-10-09 Nick Clifton <nickc@redhat.com>
  737. PR 25041
  738. * testsuite/gas/avr/pr25041.s: New test.
  739. * testsuite/gas/avr/pr25041.d: New test driver.
  740. 2019-10-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  741. * config/tc-msp430.c (md_parse_option): Set lower_data_region_only
  742. to FALSE if the data region is set to "upper", "either" or "none".
  743. (msp430_object_attribute): New.
  744. (md_pseudo_table): Handle .mspabi_attribute and .gnu_attribute.
  745. (msp430_md_end): Replace hard-coded attribute values with enums.
  746. Handle data region object attribute.
  747. * doc/as.texi: Document MSP430 Data Region object attribute.
  748. * doc/c-msp430.texi: Document the .mspabi_attribute directive.
  749. * testsuite/gas/msp430/attr-430-small-bad.d: New test.
  750. * testsuite/gas/msp430/attr-430-small-bad.l: New test.
  751. * testsuite/gas/msp430/attr-430-small-good.d: New test.
  752. * testsuite/gas/msp430/attr-430-small.s: New test.
  753. * testsuite/gas/msp430/attr-430x-large-any-bad.d: New test.
  754. * testsuite/gas/msp430/attr-430x-large-any-bad.l: New test.
  755. * testsuite/gas/msp430/attr-430x-large-any-good.d: New test.
  756. * testsuite/gas/msp430/attr-430x-large-any.s: New test.
  757. * testsuite/gas/msp430/attr-430x-large-lower-bad.d: New test.
  758. * testsuite/gas/msp430/attr-430x-large-lower-bad.l: New test.
  759. * testsuite/gas/msp430/attr-430x-large-lower-good.d: New test.
  760. * testsuite/gas/msp430/attr-430x-large-lower.s: New test.
  761. * testsuite/gas/msp430/msp430.exp: Run new tests.
  762. 2019-10-07 Jan Beulich <jbeulich@suse.com>
  763. * config/tc-i386.c (check_string): Make reported operand number
  764. depend on Intel syntax.
  765. * testsuite/gas/i386/intel-cmps.s,
  766. testsuite/gas/i386/intel-cmps32.d,
  767. testsuite/gas/i386/intel-cmps64.d: New.
  768. * testsuite/gas/i386/i386.exp: Run new tests.
  769. * testsuite/gas/i386/intel-movs.s: Extend.
  770. * testsuite/gas/i386/intel-movs32.d,
  771. testsuite/gas/i386/intel-movs64.d: Adjust expectations.
  772. * testsuite/gas/i386/string-bad.l: Tighten expectations.
  773. 2019-09-24 Tamar Christina <tamar.christina@arm.com>
  774. PR gas/24991
  775. * config/tc-arm.c (out_of_range_p): New.
  776. (md_apply_fix): Use it in BFD_RELOC_THUMB_PCREL_BRANCH9,
  777. BFD_RELOC_THUMB_PCREL_BRANCH12, BFD_RELOC_THUMB_PCREL_BRANCH20,
  778. BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_THUMB_PCREL_BRANCH25
  779. * testsuite/gas/arm/pr24991.d: New test.
  780. * testsuite/gas/arm/pr24991.l: New test.
  781. * testsuite/gas/arm/pr24991.s: New test.
  782. 2019-09-23 Alan Modra <amodra@gmail.com>
  783. * config/obj-ecoff.c: Include ecoff-bfd.h.
  784. * config/obj-elf.c: Likewise.
  785. 2019-09-23 Alan Modra <amodra@gmail.com>
  786. * config/tc-arm.c: Include cpu-arm.h.
  787. 2019-09-21 Alan Modra <amodra@gmail.com>
  788. * config/tc-i386.c (md_parse_option): Fix warning on vexwig assignment.
  789. 2019-09-20 Alan Modra <amodra@gmail.com>
  790. * config/tc-tic6x.c (tc_gen_reloc): Correct common symbol check.
  791. 2018-09-20 Jan Beulich <jbeulich@suse.com>
  792. PR gas/25012
  793. * config/tc-i386.c (process_operands): Adjust handling of
  794. PUSH/POP of segment registers.
  795. * testsuite/gas/i386/x86-64-opcode.s: Add PUSHq/POPq case with
  796. %fs/%gs operands. Add PUSHF/POPF case without suffix.
  797. * testsuite/gas/i386/x86-64-opcode.d: Adjust expectations.
  798. 2019-09-19 Matthew Malcomson <matthew.malcomson@arm.com>
  799. * NEWS: Add SVE2 and TME entries.
  800. 2019-09-18 Alan Modra <amodra@gmail.com>
  801. * as.c, * as.h, * dw2gencfi.c, * dwarf2dbg.c, * ecoff.c,
  802. * read.c, * stabs.c, * subsegs.c, * subsegs.h, * write.c,
  803. * config/obj-coff-seh.c, * config/obj-coff.c, * config/obj-ecoff.c,
  804. * config/obj-elf.c, * config/obj-macho.c, * config/obj-som.c,
  805. * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
  806. * config/tc-arm.c, * config/tc-avr.c, * config/tc-bfin.c,
  807. * config/tc-bpf.c, * config/tc-d10v.c, * config/tc-d30v.c,
  808. * config/tc-epiphany.c, * config/tc-fr30.c, * config/tc-frv.c,
  809. * config/tc-h8300.c, * config/tc-hppa.c, * config/tc-i386.c,
  810. * config/tc-ia64.c, * config/tc-ip2k.c, * config/tc-iq2000.c,
  811. * config/tc-lm32.c, * config/tc-m32c.c, * config/tc-m32r.c,
  812. * config/tc-m68hc11.c, * config/tc-mep.c, * config/tc-microblaze.c,
  813. * config/tc-mips.c, * config/tc-mmix.c, * config/tc-mn10200.c,
  814. * config/tc-mn10300.c, * config/tc-msp430.c, * config/tc-mt.c,
  815. * config/tc-nds32.c, * config/tc-or1k.c, * config/tc-ppc.c,
  816. * config/tc-pru.c, * config/tc-rl78.c, * config/tc-rx.c,
  817. * config/tc-s12z.c, * config/tc-s390.c, * config/tc-score.c,
  818. * config/tc-score7.c, * config/tc-sh.c, * config/tc-sparc.c,
  819. * config/tc-spu.c, * config/tc-tic4x.c, * config/tc-tic54x.c,
  820. * config/tc-tic6x.c, * config/tc-tilegx.c, * config/tc-tilepro.c,
  821. * config/tc-v850.c, * config/tc-visium.c, * config/tc-wasm32.c,
  822. * config/tc-xc16x.c, * config/tc-xgate.c, * config/tc-xstormy16.c,
  823. * config/tc-xtensa.c, * config/tc-z8k.c: Update throughout for
  824. bfd section macro and function changes.
  825. * write.c (compress_debug): Use bfd_rename_section.
  826. 2019-09-18 Alan Modra <amodra@gmail.com>
  827. * symbols.c (S_IS_LOCAL): Update bfd_get_section to
  828. bfd_asymbol_section.
  829. 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca>
  830. * Makefile.in: Re-generate.
  831. * configure: Re-generate.
  832. * doc/Makefile.in: Re-generate.
  833. 2019-09-17 Maxim Blinov <maxim.blinov@embecosm.com>
  834. * config/tc-riscv.c (riscv_multi_subset_supports): Handle
  835. insn_class enum rather than subset char string.
  836. (riscv_ip): Update call to riscv_multi_subset_supports.
  837. 2019-09-16 Phil Blundell <pb@pbcl.net>
  838. * Makefile.in, configure, doc/Makefile.in: Regenerated.
  839. 2019-09-10 Nick Clifton <nickc@redhat.com>
  840. PR 24907
  841. * testsuite/gas/arm/pr24907.s: New test.
  842. * testsuite/gas/arm/pr24907.d: Expected disassembly.
  843. 2019-09-09 Phil Blundell <pb@pbcl.net>
  844. binutils 2.33 branch created.
  845. 2019-09-05 Alan Modra <amodra@gmail.com>
  846. * config/tc-ppc.c (ppc_elf_suffix): Display the relocation
  847. operator on GOT reloc warnings/errors.
  848. 2019-08-27 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
  849. * config/tc-arm.c (parse_neon_mov): Add check to accept vector
  850. register to both the arguments in VMOV instruction.
  851. * testsuite/gas/arm/mve-vmov-1.d: Modify.
  852. * testsuite/gas/arm/mve-vmov-1.s: Likewise.
  853. * testsuite/gas/arm/mve-vorr.d: Likewise.
  854. 2019-08-23 Nick Clifton <nickc@redhat.com>
  855. * po/sv.po: Updated Swedish translation.
  856. 2019-08-22 Dennis Zhang <dennis.zhang@arm.com>
  857. * config/tc-arm.c: New entries for Cortex-M35P, Cortex-A77,
  858. and Cortex-A76AE.
  859. * doc/c-arm.texi: Document new processors.
  860. * testsuite/gas/arm/cpu-cortex-a76ae.d: New test.
  861. * testsuite/gas/arm/cpu-cortex-a77.d: New test.
  862. * testsuite/gas/arm/cpu-cortex-m35p.d: New test.
  863. 2019-08-22 Bosco García <jbgg.gnu@gmail.com>
  864. Nick Clifton <nickc@redhat.com>
  865. * atof-generic.c (atof_generic): Do not ignore leading zeros if
  866. they appear after a decimal point.
  867. * testsuite/gas/all/float.s: Extend test to include a number with
  868. a leading decimal point followed by several zeroes.
  869. * testsuite/gas/i386/fp.s: Likewise.
  870. * testsuite/gas/i386/fp.d: Update expected output.
  871. 2019-08-22 Barnaby Wilks <barnaby.wilks@arm.com>
  872. * config/tc-aarch64.c: Add float16 directive and add "Hh" to
  873. acceptable float characters.
  874. * doc/c-aarch64.texi: Documentation for float16 directive.
  875. * testsuite/gas/aarch64/float16-be.d: New test.
  876. * testsuite/gas/aarch64/float16-le.d: New test.
  877. * testsuite/gas/aarch64/float16.s: New test.
  878. * NEWS: Add NEWS entry.
  879. 2019-08-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
  880. * testsuite/gas/aarch64/sysreg-4.d: Update expected disassembly for
  881. tfsre0_el1, tfsr_el1, tfsr_el2, tfsr_el3, tfsr_el12 system registers.
  882. 2019-08-20 Dennis Zhang <dennis.zhang@arm.com>
  883. * NEWS: Mention the Arm and AArch64 new processors.
  884. * config/tc-aarch64.c: New entries for Cortex-A34, Cortex-A65,
  885. Cortex-A77, cortex-A65AE, and Cortex-A76AE.
  886. * doc/c-aarch64.texi: Document new CPUs.
  887. * testsuite/gas/aarch64/cpu-cortex-a34.d: New test.
  888. * testsuite/gas/aarch64/cpu-cortex-a65.d: New test.
  889. * testsuite/gas/aarch64/cpu-cortex-a65ae.d: New test.
  890. * testsuite/gas/aarch64/cpu-cortex-a76ae.d: New test.
  891. * testsuite/gas/aarch64/cpu-cortex-a77.d: New test.
  892. * testsuite/gas/aarch64/nop-asm.s: New test.
  893. 2019-08-19 Faraz Shahbazker <fshahbazker@wavecomp.com>
  894. * config/tc-mips.c (fix_bad_misaligned_address): New function.
  895. (fix_validate_branch): Call fix_bad_misaligned address_to
  896. calculate the target address.
  897. (md_apply_fix): Likewise.
  898. (md_convert_frag): Update misaligned address calculation to
  899. disregard ISA mode bit.
  900. 2019-08-19 Faraz Shahbazker <fshahbazker@wavecomp.com>
  901. * config/tc-mips.c (mips_move_labels): Retain ISA mode bit
  902. when moving labels in text segments.
  903. (mips_align): Indicate text mode when aligning labels in
  904. text segments.
  905. * gas/testsuite/gas/mips/insn-isa-mode.d: New test.
  906. * gas/testsuite/gas/mips/insn-isa-mode.s: New test source.
  907. * gas/testsuite/gas/mips/mips.exp: Run the new test.
  908. 2019-08-19 Barnaby Wilks <Barnaby.Wilks@arm.com>
  909. * config/tc-arm.c (md_atof): Add precision check. Formatting.
  910. 2019-08-15 Nick Clifton <nickc@redhat.com>
  911. * po/sv.po: Updated Swedish translation.
  912. 2019-08-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
  913. * config/tc-arm.c (enum operand_parse_code): Add the entry OP_I48_I64.
  914. (po_imm1_or_imm2_or_fail): Marco to check the immediate is either of
  915. 48 or 64.
  916. (parse_operands): Add case OP_I48_I64.
  917. (do_mve_scalar_shift1): Add function to encode the MVE shift
  918. instructions with 4 arguments.
  919. * testsuite/gas/arm/mve-shift-bad.l: Modify.
  920. * testsuite/gas/arm/mve-shift-bad.s: Likewise.
  921. * testsuite/gas/arm/mve-shift.d: Likewise.
  922. * testsuite/gas/arm/mve-shift.s: Likewise.
  923. 2019-08-12 Barnaby Wilks <barnaby.wilks@arm.com>
  924. * config/tc-arm.c (enum fp_16bit_format): Add enum to represent the 2 float16 encodings.
  925. (md_atof): Set precision for float16 type.
  926. (arm_is_largest_exponent_ok): Check for whether to encode with the IEEE or alternative
  927. format.
  928. (set_fp16_format): Parse a float16_format directive.
  929. (arm_parse_fp16_opt): Parse the fp16-format command line option.
  930. (aeabi_set_public_attributes): For ELF encode the FP16 format EABI attribute.
  931. * config/tc-arm.h (TC_LARGEST_EXPONENT_IS_NORMAL): Macro that expands to
  932. arm_is_largest_exponent_ok.
  933. (arm_is_largest_exponent_ok): Add prototype for arm_is_largest_exponent_ok function.
  934. * doc/c-arm.texi: Add documentation for .float16, .float16_format and -mfp16-format=
  935. * testsuite/gas/arm/float16-bad.d: New test.
  936. * testsuite/gas/arm/float16-bad.l: New test.
  937. * testsuite/gas/arm/float16-bad.s: New test.
  938. * testsuite/gas/arm/float16-be.d: New test.
  939. * testsuite/gas/arm/float16-format-bad.d: New test.
  940. * testsuite/gas/arm/float16-format-bad.l: New test.
  941. * testsuite/gas/arm/float16-format-bad.s: New test.
  942. * testsuite/gas/arm/float16-format-opt-bad.d: New test.
  943. * testsuite/gas/arm/float16-format-opt-bad.l: New test.
  944. * testsuite/gas/arm/float16-le.d: New test.
  945. * testsuite/gas/arm/float16.s: New test.
  946. * testsuite/gas/arm/float16-eabi-alternative-format.d: New test.
  947. * testsuite/gas/arm/float16-eabi-ieee-format.d: New test.
  948. * testsuite/gas/arm/float16-eabi-no-format.d: New test.
  949. * testsuite/gas/arm/float16-eabi.s: New test.
  950. 2019-08-12 Barnaby Wilks <barnaby.wilks@arm.com>
  951. * config/atof-ieee.c (H_PRECISION): Macro for precision of float16
  952. type.
  953. (atof_ieee): Set precision and exponent bits for encoding float16
  954. types.
  955. (gen_to_words): NaN and Infinity encoding for float16.
  956. (ieee_md_atof): Set precision for encoding float16 type.
  957. 2019-08-12 Alan Modra <amodra@gmail.com>
  958. PR 24851
  959. * config/tc-epiphany.c (md_estimate_size_before_relax): Clear
  960. extra opcode bytes when changing from a 2-byte to a 4-byte insn.
  961. 2019-08-09 Jan Beulich <jbeulich@suse.com>
  962. * testsuite/gas/i386/ilp32/x86-64-simd-intel.d,
  963. testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
  964. testsuite/gas/i386/ilp32/x86-64-simd.d: Redirect to parent dir
  965. output expectations.
  966. * testsuite/gas/i386/x86-64-simd-intel.d,
  967. testsuite/gas/i386/x86-64-simd-suffix.d,
  968. testsuite/gas/i386/x86-64-simd.d: Don't hard-code hex addresses
  969. and symbol-relative offsets.
  970. 2019-08-08 Nick Clifton <nickc@redhat.com>
  971. PR 24887
  972. * testsuite/gas/i386/property-1.d: Adjust for new output format
  973. from readelf.
  974. * testsuite/gas/i386/property-2.d: Likewise.
  975. * testsuite/gas/i386/x86-64-property-1.d: Likewise.
  976. * testsuite/gas/i386/x86-64-property-2.d: Likewise.
  977. 2019-08-08 Yoshinori Sato <ysato@users.sourceforge.jp>
  978. * testsuite/gas/h8300/h8300.exp: Fix movfpe and movtpe tests.
  979. * testsuite/gas/h8300/misc.s: Likewise.
  980. * testsuite/gas/h8300/misch.s: Likewise.
  981. * testsuite/gas/h8300/miscs.s: Likewise.
  982. 2019-08-05 Barnaby Wilks <barnaby.wilks@arm.com>
  983. * config/tc-arm.c (do_mve_vqdmlah): Use N_S_32 macro.
  984. (do_neon_qrdmlah): Use N_S_32 macro.
  985. * testsuite/gas/arm/mve-vqdmlah-bad.d: New test.
  986. * testsuite/gas/arm/mve-vqdmlah-bad.l: New test.
  987. * testsuite/gas/arm/mve-vqdmlah-bad.s: New test.
  988. * testsuite/gas/arm/mve-vqdmlah.d: Remove unsigned instruction tests.
  989. * testsuite/gas/arm/mve-vqdmlah.s: Remove unsigned instruction tests.
  990. * testsuite/gas/arm/mve-vqdmlash-bad.d: New test.
  991. * testsuite/gas/arm/mve-vqdmlash-bad.l: New test.
  992. * testsuite/gas/arm/mve-vqdmlash-bad.s: New test.
  993. * testsuite/gas/arm/mve-vqdmlash.d: Remove unsigned instruction tests.
  994. * testsuite/gas/arm/mve-vqdmlash.s: Remove unsigned instruction tests.
  995. 2019-07-30 Mel Chen <mel.chen@sifive.com>
  996. * testsuite/gas/riscv/alias-csr.s: Add testcase for CSR-access
  997. alias instructions.
  998. * testsuite/gas/riscv/no-aliases-csr.d: Run testcase alias-csr.s with
  999. -Mno-aliases.
  1000. * testsuite/gas/riscv/alias-csr.d: Run testcase alias-csr.s.
  1001. * testsuite/gas/riscv/priv-reg.d: Update.
  1002. 2019-07-24 Nick Clifton <nickc@redhat.com>
  1003. * po/sv.po: Updated Swedish translation.
  1004. 2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
  1005. * testsuite/gas/arc/nps400-6.d: Update test.
  1006. 2019-07-24 Alan Modra <amodra@gmail.com>
  1007. * config/obj-elf.c (obj_elf_section, obj_elf_type): Set has_gnu_osabi.
  1008. * testsuite/gas/elf/section12a.d: Update xfails.
  1009. * testsuite/gas/elf/section12b.d: Likewise.
  1010. 2019-07-24 Alan Modra <amodra@gmail.com>
  1011. * testsuite/gas/elf/section12a.d: xfail visium and cloudabi.
  1012. * testsuite/gas/elf/section12b.d: Likewise.
  1013. * testsuite/gas/elf/section13.d: Likewise.
  1014. 2019-07-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
  1015. * testsuite/gas/aarch64/sysreg-4.s: Test gmid_el1 read.
  1016. * testsuite/gas/aarch64/sysreg-4.d: Update expected output.
  1017. * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise.
  1018. 2019-07-23 Alan Modra <amodra@gmail.com>
  1019. * config/obj-elf.c (obj_elf_change_section): Don't emit a fatal
  1020. error for non-SHF_ALLOC SHF_GNU_MBIND here.
  1021. (obj_elf_parse_section_letters): Return SHF_GNU_MBIND in new
  1022. gnu_attr param.
  1023. (obj_elf_section): Adjust obj_elf_parse_section_letters call.
  1024. Formatting. Set SHF_GNU_MBIND and elf_osabi from gnu_attr.
  1025. Emit normal error for non-SHF_ALLOC SHF_GNU_MBIND and wrong osabi.
  1026. (obj_elf_type): Set elf_osabi for ifunc.
  1027. * testsuite/gas/elf/section12a.d: xfail msp430 and hpux.
  1028. * testsuite/gas/elf/section12b.d: Likewise.
  1029. * testsuite/gas/elf/section13.d: Likewise.
  1030. * testsuite/gas/elf/section13.l: Adjust expected error.
  1031. 2019-07-23 Alan Modra <amodra@gmail.com>
  1032. * testsuite/gas/elf/section12a.d: Don't skip for rx.
  1033. 2019-07-22 Barnaby Wilks <barnaby.wilks@arm.com>
  1034. * config/tc-arm.c (do_mve_vqdmladh): Remove check for UNPREDICTABLE.
  1035. * testsuite/gas/arm/mve-vqdmladh-bad.l: Remove tests.
  1036. * testsuite/gas/arm/mve-vqdmladh-bad.s: Remove tests.
  1037. * testsuite/gas/arm/mve-vqdmladh.d: New tests.
  1038. * testsuite/gas/arm/mve-vqdmladh.s: New tests.
  1039. * testsuite/gas/arm/mve-vqdmlsdh-bad.l: Remove tests.
  1040. * testsuite/gas/arm/mve-vqdmlsdh-bad.s: Remove tests.
  1041. * testsuite/gas/arm/mve-vqdmlsdh.d: New tests.
  1042. * testsuite/gas/arm/mve-vqdmlsdh.s: New tests.
  1043. 2019-07-19 H.J. Lu <hongjiu.lu@intel.com>
  1044. * testsuite/gas/i386/noextreg.d: Pass -O0 to assembler.
  1045. 2019-07-19 Jose E. Marchesi <jose.marchesi@oracle.com>
  1046. * testsuite/gas/bpf/alu.d: Use %r6 instead of %ctx.
  1047. * testsuite/gas/bpf/lddw-be.d: Likewise.
  1048. * testsuite/gas/bpf/lddw.d: Likewise.
  1049. * testsuite/gas/bpf/alu-be.d: Likewise.
  1050. * testsuite/gas/bpf/alu32.d: Likewise.
  1051. 2019-07-19 Jose E. Marchesi <jose.marchesi@oracle.com>
  1052. * config/tc-bpf.c (pe_lcomm_internal): Adapted from tc-i386.c.
  1053. (pe_lcomm): Likewise.
  1054. (md_pseudo_table): Use pe_lcomm to implement .lcomm.
  1055. 2019-07-19 Richard Sandiford <richard.sandiford@arm.com>
  1056. * doc/c-aarch64.texi: Remame the +bitperm extension to +sve2-bitperm.
  1057. * config/tc-aarch64.c (aarch64_features): Likewise.
  1058. * testsuite/gas/aarch64/illegal-sve2-aes.d: Update accordingly.
  1059. * testsuite/gas/aarch64/illegal-sve2-sha3.d: Likewise.
  1060. * testsuite/gas/aarch64/illegal-sve2-sm4.d: Likewise.
  1061. * testsuite/gas/aarch64/illegal-sve2.d: Likewise.
  1062. * testsuite/gas/aarch64/sve2.d: Likewise.
  1063. 2019-07-19 Alan Modra <amodra@gmail.com>
  1064. * config/tc-ppc.c (ppc_elf_suffix): Map "tls@pcrel", "got@tlsgd@pcrel",
  1065. "got@tlsld@pcrel", "got@tprel@pcrel", and "got@dtprel@pcrel".
  1066. (fixup_size, md_assemble): Handle pcrel tls relocs.
  1067. (ppc_force_relocation, ppc_fix_adjustable): Likewise.
  1068. (md_apply_fix, tc_gen_reloc): Likewise.
  1069. 2019-07-17 Jose E. Marchesi <jose.marchesi@oracle.com>
  1070. * config/tc-bpf.c: Make .lcomm to get a third argument with the
  1071. alignment.
  1072. 2019-07-17 Jose E. Marchesi <jose.marchesi@oracle.com>
  1073. * config/tc-bpf.c (md_pseudo_table): .half, .word and .dword.
  1074. * testsuite/gas/bpf/data.s: New file.
  1075. * testsuite/gas/bpf/data.d: Likewise.
  1076. * testsuite/gas/bpf/data-be.d: Likewise.
  1077. * testsuite/gas/bpf/bpf.exp: Run data and data-be.
  1078. * doc/c-bpf.texi (BPF Directives): New section.
  1079. 2019-07-17 Jan Beulich <jbeulich@suse.com>
  1080. * config/tc-i386.c (check_hle, md_assemble, check_VecOperands,
  1081. match_template, check_string, build_modrm_byte): Replace
  1082. operand_type_check(..., anymem) by Operand_Mem ones.
  1083. (process_operands): Also copy i.flags[] when copying other
  1084. operand properties.
  1085. 2019-07-16 Jan Beulich <jbeulich@suse.com>
  1086. * config/tc-i386.c (match_template): Adjust regmem reference.
  1087. Adjust comment and update regmem when swapping operands.
  1088. (build_modrm_byte): Drop clearing of regmem and stale part of
  1089. comment. Correct comment. Adjust regmem reference.
  1090. 2019-07-16 Jan Beulich <jbeulich@suse.com>
  1091. * config/tc-i386.c (type_names): Replace SReg entries.
  1092. (pi, check_byte_reg, build_modrm_byte, i386_att_operand,
  1093. parse_real_register): Switch to using sreg field.
  1094. (process_operands): Likewise. Extend handling of PUSH/POP of
  1095. segment registers. Drop dead setting of REX_B.
  1096. * config/tc-i386-intel.c (i386_intel_simplify_register,
  1097. i386_intel_operand): Switch to using sreg field.
  1098. * testsuite/gas/i386/x86-64-opcode.s: Add PUSH/POP of %fs/%gs.
  1099. * testsuite/gas/i386/x86-64-opcode.d: Adjust expectations.
  1100. * testsuite/gas/i386/ilp32/x86-64-opcode.d: Use parent dir
  1101. expectations.
  1102. 2019-07-15 Jose E. Marchesi <jose.marchesi@oracle.com>
  1103. * testsuite/gas/bpf/mem.s: ldabs instructions do not take a `src'
  1104. register as an argument.
  1105. * testsuite/gas/bpf/mem.d: Updated accordingly.
  1106. * testsuite/gas/bpf/mem-be.d: Likewise.
  1107. * doc/c-bpf.texi (BPF Opcodes): Update to reflect the correct
  1108. explicit arguments to ldabs and ldind instructions.
  1109. 2019-07-14 Jose E. Marchesi <jose.marchesi@oracle.com>
  1110. * testsuite/gas/bpf/mem.s: Do not use explicit arguments for
  1111. ldabs and ldind instructions.
  1112. * testsuite/gas/bpf/mem.d: Updated accordingly.
  1113. * testsuite/gas/bpf/mem-be.d: Likewise.
  1114. 2019-07-09 Alan Modra <amodra@gmail.com>
  1115. * config/obj-elf.c (elf_frob_symbol): Remove mips hacks.
  1116. * config/tc-mips.h (tc_frob_symbol): Define.
  1117. (mips_frob_symbol): Declare.
  1118. * config/tc-mips.c (s_mips_globl): Don't set BSF_OBJECT for irix.
  1119. (mips_frob_symbol): Fudge symbols for irix here.
  1120. * testsuite/gas/elf/type-2.e: Allow random target symbols.
  1121. 2019-07-05 Kito Cheng <kito.cheng@sifive.com>
  1122. * doc/c-riscv.texi (Instruction Formats): Add r4 type.
  1123. * testsuite/gas/riscv/insn.d: Add testcase for r4 type.
  1124. * testsuite/gas/riscv/insn.s: Ditto.
  1125. * doc/c-riscv.texi (Instruction Formats): Add b and j type.
  1126. * testsuite/gas/riscv/insn.d: Add test case for b and j type.
  1127. * testsuite/gas/riscv/insn.s: Ditto.
  1128. * testsuite/gas/riscv/insn.s: Correct instruction type for load
  1129. and store.
  1130. * testsuite/gas/riscv/insn.d: Using regular expression to match
  1131. address.
  1132. * doc/c-riscv.texi (Instruction Formats): Fix encoding table for SB
  1133. type and fix typo.
  1134. 2019-07-04 Jan Beulich <jbeulich@suse.com>
  1135. * config/tc-i386.c (md_parse_option): Don't blindly accept all
  1136. -Q options.
  1137. (md_show_usage): Correctly name the ignored -Q option flavors.
  1138. 2019-07-04 Jan Beulich <jbeulich@suse.com>
  1139. * config/obj-elf.c (obj_elf_type): Check for conflicts between
  1140. old and new types.
  1141. * config/tc-hppa.h (md_elf_symbol_type_change): New.
  1142. * doc/as.texi: Mention warning behavior for the ELF flavor of
  1143. .type.
  1144. * testsuite/gas/elf/type-2.e, testsuite/gas/elf/type-2.l,
  1145. testsuite/gas/elf/type-2.s: New.
  1146. * testsuite/gas/elf/elf.exp: Run new test.
  1147. 2019-07-03 Nick Clifton <nickc@redhat.com>
  1148. * testsuite/gas/aarch64/codealign.d: Update to work with a
  1149. toolchain configured to generate build notes.
  1150. * testsuite/gas/aarch64/codealign_1.d: Likewise.
  1151. * testsuite/gas/aarch64/dwarf.d: Likewise.
  1152. * testsuite/gas/aarch64/mapmisc.d: Likewise.
  1153. * testsuite/gas/aarch64/mapping.d: Likewise.
  1154. * testsuite/gas/aarch64/mapping2.d: Likewise.
  1155. * testsuite/gas/aarch64/mapping3.d: Likewise.
  1156. * testsuite/gas/aarch64/mapping4.d: Likewise.
  1157. * testsuite/gas/aarch64/mapping_5.d: Likewise.
  1158. * testsuite/gas/aarch64/mapping_6.d: Likewise.
  1159. * testsuite/gas/aarch64/sve-movprfx_1.d: Likewise.
  1160. * testsuite/gas/aarch64/sve-movprfx_10.d: Likewise.
  1161. * testsuite/gas/aarch64/sve-movprfx_11.d: Likewise.
  1162. * testsuite/gas/aarch64/sve-movprfx_12.d: Likewise.
  1163. * testsuite/gas/aarch64/sve-movprfx_13.d: Likewise.
  1164. * testsuite/gas/aarch64/sve-movprfx_14.d: Likewise.
  1165. * testsuite/gas/aarch64/sve-movprfx_15.d: Likewise.
  1166. * testsuite/gas/aarch64/sve-movprfx_16.d: Likewise.
  1167. * testsuite/gas/aarch64/sve-movprfx_17.d: Likewise.
  1168. * testsuite/gas/aarch64/sve-movprfx_18.d: Likewise.
  1169. * testsuite/gas/aarch64/sve-movprfx_19.d: Likewise.
  1170. * testsuite/gas/aarch64/sve-movprfx_2.d: Likewise.
  1171. * testsuite/gas/aarch64/sve-movprfx_20.d: Likewise.
  1172. * testsuite/gas/aarch64/sve-movprfx_21.d: Likewise.
  1173. * testsuite/gas/aarch64/sve-movprfx_22.d: Likewise.
  1174. * testsuite/gas/aarch64/sve-movprfx_23.d: Likewise.
  1175. * testsuite/gas/aarch64/sve-movprfx_24.d: Likewise.
  1176. * testsuite/gas/aarch64/sve-movprfx_25.d: Likewise.
  1177. * testsuite/gas/aarch64/sve-movprfx_26.d: Likewise.
  1178. * testsuite/gas/aarch64/sve-movprfx_27.d: Likewise.
  1179. * testsuite/gas/aarch64/sve-movprfx_3.d: Likewise.
  1180. * testsuite/gas/aarch64/sve-movprfx_4.d: Likewise.
  1181. * testsuite/gas/aarch64/sve-movprfx_5.d: Likewise.
  1182. * testsuite/gas/aarch64/sve-movprfx_6.d: Likewise.
  1183. * testsuite/gas/aarch64/sve-movprfx_7.d: Likewise.
  1184. * testsuite/gas/aarch64/sve-movprfx_8.d: Likewise.
  1185. * testsuite/gas/aarch64/sve-movprfx_9.d: Likewise.
  1186. * testsuite/gas/aarch64/symbol-variant_pcs-1.d: Likewise.
  1187. * testsuite/gas/aarch64/symbol-variant_pcs-2.d: Likewise.
  1188. * testsuite/gas/aarch64/symbol-variant_pcs-3.d: Likewise.
  1189. * testsuite/gas/all/assign.d: Likewise.
  1190. * testsuite/gas/all/none.d: Likewise.
  1191. * testsuite/gas/all/weakref1.d: Likewise.
  1192. * testsuite/gas/arm/got_prel.d: Likewise.
  1193. * testsuite/gas/arm/local_function.d: Likewise.
  1194. * testsuite/gas/arm/mapdir.d: Likewise.
  1195. * testsuite/gas/arm/mapmisc.d: Likewise.
  1196. * testsuite/gas/arm/mapping2.d: Likewise.
  1197. * testsuite/gas/arm/mapping3.d: Likewise.
  1198. * testsuite/gas/arm/mapping4.d: Likewise.
  1199. * testsuite/gas/arm/mapsecs.d: Likewise.
  1200. * testsuite/gas/arm/mapshort-eabi.d: Likewise.
  1201. * testsuite/gas/arm/thumbrel.d: Likewise.
  1202. * testsuite/gas/arm/unwind.d: Likewise.
  1203. * testsuite/gas/cfi/cfi-label.d: Likewise.
  1204. * testsuite/gas/elf/elf.exp: Likewise.
  1205. * testsuite/gas/i386/bss.d: Likewise.
  1206. * testsuite/gas/i386/ifunc-3.d: Likewise.
  1207. * testsuite/gas/i386/ilp32/mixed-mode-reloc64.d: Likewise.
  1208. * testsuite/gas/i386/ilp32/quad.d: Likewise.
  1209. * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
  1210. * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
  1211. * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
  1212. * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
  1213. * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
  1214. * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
  1215. * testsuite/gas/i386/mixed-mode-reloc64.d: Likewise.
  1216. * testsuite/gas/i386/nop-6.d: Likewise.
  1217. * testsuite/gas/i386/property-1.d: Likewise.
  1218. * testsuite/gas/i386/property-2.d: Likewise.
  1219. * testsuite/gas/i386/relax.d: Likewise.
  1220. * testsuite/gas/i386/reloc64.d: Likewise.
  1221. * testsuite/gas/i386/size-1.d: Likewise.
  1222. * testsuite/gas/i386/size-3.d: Likewise.
  1223. * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
  1224. * testsuite/gas/i386/x86-64-property-1.d: Likewise.
  1225. * testsuite/gas/i386/x86-64-property-2.d: Likewise.
  1226. * testsuite/gas/i386/x86-64-size-1.d: Likewise.
  1227. * testsuite/gas/i386/x86-64-size-3.d: Likewise.
  1228. * testsuite/gas/i386/x86-64-size-5.d: Likewise.
  1229. * testsuite/gas/i386/x86-64-unwind.d: Likewise.
  1230. * testsuite/gas/macros/irp.d: Likewise.
  1231. * testsuite/gas/macros/repeat.d: Likewise.
  1232. * testsuite/gas/macros/rept.d: Likewise.
  1233. * testsuite/gas/macros/test2.d: Likewise.
  1234. * testsuite/gas/macros/test3.d: Likewise.
  1235. * testsuite/gas/macros/vararg.d: Likewise.
  1236. * testsuite/gas/ppc/astest2.d: Likewise.
  1237. * testsuite/gas/ppc/astest2_64.d: Likewise.
  1238. * testsuite/gas/ppc/astest64.d: Likewise.
  1239. * testsuite/gas/ppc/power4.d: Likewise.
  1240. * testsuite/gas/ppc/test1elf64.d: Likewise.
  1241. 2019-07-02 Barnaby Wilks <barnaby.wilks@arm.com>
  1242. * config/tc-aarch64.c (parse_operands): Add error check.
  1243. * testsuite/gas/aarch64/diagnostic.l: New test.
  1244. * testsuite/gas/aarch64/diagnostic.s: New test.
  1245. * testsuite/gas/aarch64/illegal.l: New tests.
  1246. * testsuite/gas/aarch64/illegal.s: New tests.
  1247. 2019-07-02 Richard Sandiford <richard.sandiford@arm.com>
  1248. * testsuite/gas/aarch64/sve-movprfx_27.s,
  1249. * testsuite/gas/aarch64/sve-movprfx_27.d: New test.
  1250. 2019-07-02 Richard Sandiford <richard.sandiford@arm.com>
  1251. * testsuite/gas/aarch64/sve-movprfx_26.s: Also test FCVTZS, FCVTZU,
  1252. SCVTF, UCVTF, LSR and ASR.
  1253. * testsuite/gas/aarch64/sve-movprfx_26.d: Update accordingly.
  1254. * testsuite/gas/aarch64/sve-movprfx_26.l: Likewise.
  1255. 2019-07-02 Richard Sandiford <richard.sandiford@arm.com>
  1256. * testsuite/gas/aarch64/sve-movprfx_25.s: Allow CPY Z1.D.P1/M,X1
  1257. to be prefixed by MOVPRFX.
  1258. * testsuite/gas/aarch64/sve-movprfx_25.d: Update accordingly.
  1259. * testsuite/gas/aarch64/sve-movprfx_25.l: Likewise.
  1260. 2019-07-01 Nick Clifton <nickc@redhat.com>
  1261. PR 24748
  1262. * write.c (create_note_reloc): Add desc2_offset parameter. Change
  1263. name of offset parameter to note_offset. Only use desc2_offset
  1264. when placing addend into REL reloc's address space.
  1265. (maybe_generate_build_notes): Update parameters passed to
  1266. create_note_reloc.
  1267. 2019-07-01 Matthew Malcomson <matthew.malcomson@arm.com>
  1268. * testsuite/gas/aarch64/illegal-sve2-aes.d: Update tests.
  1269. * testsuite/gas/aarch64/illegal-sve2.l: Update tests.
  1270. * doc/c-aarch64.texi: Add special note of pmull{t,b}
  1271. instructions under the sve2-aes architecture extension.
  1272. * testsuite/gas/aarch64/illegal-sve2.s: Add small size
  1273. pmull{t,b} instructions.
  1274. * testsuite/gas/aarch64/sve2.d: Add small size pmull{t,b}
  1275. disassembly.
  1276. * testsuite/gas/aarch64/sve2.s: Add small size pmull{t,b}
  1277. instructions.
  1278. 2019-07-01 Nick Clifton <nickc@redhat.com>
  1279. PR 24738
  1280. * doc/c-i386.texi (i386-Directives): Add a description of the
  1281. Value directive.
  1282. 2019-07-01 Nick Clifton <nickc@redhat.com>
  1283. PR 24737
  1284. * doc/as.texi (Align): Add missing word to description of
  1285. pseudo-op.
  1286. (P2align): Likewise.
  1287. 2019-06-28 Nick Clifton <nickc@redhat.com>
  1288. PR 24735
  1289. * doc/as.texi (Zero): Fix spelling typo.
  1290. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1291. * config/tc-i386.c (vec_imm4): Delete.
  1292. (VEX_check_operands): Replace Vec_Imm4 check by CpuXOP with five
  1293. operands one. Clear Imm<N> by different means.
  1294. (build_modrm_byte): Adjust comment. Remove dead code. Add and
  1295. adjust assertions.
  1296. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1297. * config/tc-i386.c (output_insn): Adjust recognition of xFENCE
  1298. insns. Move PadLock special case of prefix emission to 3-byte
  1299. long base opcode handling.
  1300. (i386_index_check): Check for CpuPadLock instead of ImmExt.
  1301. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1302. * config/tc-i386.c (optimize_encoding): Handle AND / OR with
  1303. both operands being the same register.
  1304. * doc/c-i386.texi: Update -O2 documentation.
  1305. * testsuite/gas/i386/optimize-2.s,
  1306. testsuite/gas/i386/x86-64-optimize-3.s: Add cases of AND / OR
  1307. with both operands being the same register.
  1308. * testsuite/gas/i386/optimize-2.d,
  1309. testsuite/gas/i386/x86-64-optimize-3.d: Adjust expectations.
  1310. * testsuite/gas/i386/optimize-2b.d,
  1311. testsuite/gas/i386/x86-64-optimize-3b.d: New.
  1312. * testsuite/gas/i386/i386.exp: Run new test.
  1313. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1314. * config/tc-i386.c (commutative): New.
  1315. (build_vex_prefix): Handle commutative case.
  1316. (optimize_encoding): Set commutative flag when appropriate.
  1317. * doc/c-i386.texi: Update -O2 documentation.
  1318. * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Re-use parent dir
  1319. output.
  1320. * testsuite/gas/i386/x86-64-sse2avx.s: Add tests with high
  1321. numbered source operands.
  1322. * testsuite/gas/i386/x86-64-optimize-2.d,
  1323. testsuite/gas/i386/x86-64-optimize-2b.d,
  1324. testsuite/gas/i386/x86-64-optimize-3.d,
  1325. testsuite/gas/i386/x86-64-optimize-5.d,
  1326. testsuite/gas/i386/x86-64-optimize-6.d,
  1327. testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
  1328. * testsuite/gas/i386/x86-64-avx-swap-2.d,
  1329. testsuite/gas/i386/x86-64-avx-swap-2.s: New.
  1330. * testsuite/gas/i386/i386.exp: Run new test.
  1331. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1332. * config/tc-i386.c (is_evex_encoding): Don't check for SAE.
  1333. (check_VecOperands): Simplify static rounding / SAE checking.
  1334. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1335. * config/tc-i386.c (optimize_encoding): Make j unsigned. Handle
  1336. vpand{d,q}, vpandn{d,q}, vpor{d,q}, and vpxor{d,q}. Also check/
  1337. clear broadcast. Eliminate a loop.
  1338. * doc/c-i386.texi: Update -O1 documentation.
  1339. * testsuite/gas/i386/optimize-1.s,
  1340. testsuite/gas/i386/optimize-2.s,
  1341. testsuite/gas/i386/optimize-3.s,
  1342. testsuite/gas/i386/optimize-5.s,
  1343. testsuite/gas/i386/x86-64-optimize-2.s,
  1344. testsuite/gas/i386/x86-64-optimize-3.s,
  1345. testsuite/gas/i386/x86-64-optimize-4.s,
  1346. testsuite/gas/i386/x86-64-optimize-6.s: Add vpand{d,q},
  1347. vpandn{d,q}, vpor{d,q}, and vpxor{d,q} cases.
  1348. testsuite/gas/i386/optimize-1.d,
  1349. testsuite/gas/i386/optimize-1a.d,
  1350. testsuite/gas/i386/optimize-2.d,
  1351. testsuite/gas/i386/optimize-3.d,
  1352. testsuite/gas/i386/optimize-4.d,
  1353. testsuite/gas/i386/optimize-5.d,
  1354. testsuite/gas/i386/x86-64-optimize-2.d,
  1355. testsuite/gas/i386/x86-64-optimize-2a.d,
  1356. testsuite/gas/i386/x86-64-optimize-2b.d,
  1357. testsuite/gas/i386/x86-64-optimize-3.d,
  1358. testsuite/gas/i386/x86-64-optimize-4.d,
  1359. testsuite/gas/i386/x86-64-optimize-5.d,
  1360. testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations.
  1361. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1362. * testsuite/gas/i386/avx512f_vpclmulqdq.s,
  1363. testsuite/gas/i386/avx512vl_vpclmulqdq.s,
  1364. testsuite/gas/i386/vpclmulqdq.s,
  1365. testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s,
  1366. testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Add pseudo ops.
  1367. * testsuite/gas/i386/x86-64-vpclmulqdq.s: Likewise. Don't use
  1368. high 16 [xy]mm registers.
  1369. * testsuite/gas/i386/avx512f_vpclmulqdq.d,
  1370. testsuite/gas/i386/avx512f_vpclmulqdq-intel.d,
  1371. testsuite/gas/i386/avx512vl_vpclmulqdq.d,
  1372. testsuite/gas/i386/avx512vl_vpclmulqdq-intel.d,
  1373. testsuite/gas/i386/vpclmulqdq.d,
  1374. testsuite/gas/i386/vpclmulqdq-intel.d,
  1375. testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.d,
  1376. testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-intel.d,
  1377. testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.d,
  1378. testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-intel.d,
  1379. testsuite/gas/i386/x86-64-vpclmulqdq.d,
  1380. testsuite/gas/i386/x86-64-vpclmulqdq-intel.d: Adjust
  1381. expectations.
  1382. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1383. * tc-i386.c (output_disp, output_imm): Use encoding_length.
  1384. 2019-07-01 Jan Beulich <jbeulich@suse.com>
  1385. * tc-i386.c (encoding_length): New.
  1386. (output_insn): Use it.
  1387. * testsuite/gas/i386/oversized16.l,
  1388. testsuite/gas/i386/oversized16.s,
  1389. testsuite/gas/i386/oversized64.l,
  1390. testsuite/gas/i386/oversized64.s: New.
  1391. * testsuite/gas/i386/i386.exp: Run new tests.
  1392. 2019-06-27 H.J. Lu <hongjiu.lu@intel.com>
  1393. PR binutils/24719
  1394. * testsuite/gas/i386/disassem.s: Add test for vgatherpf0dps
  1395. with invalid vector length.
  1396. * testsuite/gas/i386/x86-64-disassem.s: Likewise.
  1397. * testsuite/gas/i386/disassem.d: Updated.
  1398. * testsuite/gas/i386/x86-64-disassem.d: Likewise.
  1399. 2019-06-27 Barnaby Wilk s<barnaby.wilks@arm.com>
  1400. * config/tc-arm.c (do_smc): Add range check for immediate operand.
  1401. (do_t_smc): Add range check for immediate operand. Remove
  1402. obsolete immediate encoding.
  1403. (md_apply_fix): Fix range check. Remove obsolete immediate encoding.
  1404. * testsuite/gas/arm/arch6zk.d: Fix test.
  1405. * testsuite/gas/arm/arch6zk.s: Fix test.
  1406. * testsuite/gas/arm/smc-bad.d: New test.
  1407. * testsuite/gas/arm/smc-bad.l: New test.
  1408. * testsuite/gas/arm/smc-bad.s: New test.
  1409. * testsuite/gas/arm/thumb32.d: Fix test.
  1410. * testsuite/gas/arm/thumb32.s: Fix test.
  1411. 2019-06-27 Jan Beulich <jbeulich@suse.com>
  1412. config/tc-i386.c (md_assemble): Check for protected mode
  1413. incapable processor before encoding VEX and alike insns.
  1414. * testsuite/gas/i386/inval-16.s: For 80186 architecture.
  1415. * testsuite/gas/i386/inval-16.l: Adjust expectations.
  1416. * testsuite/gas/i386/avx-16bit.d,
  1417. testsuite/gas/i386/avx-16bit.s,
  1418. testsuite/gas/i386/avx512f-16bit.d,
  1419. testsuite/gas/i386/avx512f-16bit.s,
  1420. testsuite/gas/i386/bmi-16bit.d,
  1421. testsuite/gas/i386/bmi-16bit.s,
  1422. testsuite/gas/i386/bmi2-16bit.d,
  1423. testsuite/gas/i386/bmi2-16bit.s,
  1424. testsuite/gas/i386/lwp-16bit.d,
  1425. testsuite/gas/i386/lwp-16bit.s: New
  1426. testsuite/gas/i386/i386.exp: Run new tests.
  1427. 2019-06-26 Jim Wilson <jimw@sifive.com>
  1428. * testsuite/gas/xstormy16/allinsn.sh: Change first line to
  1429. #!/bin/bash and make it executable.
  1430. * testsuite/gas/xstormy16/gcc.sh: Likewise.
  1431. 2019-06-26 Lili Cui <lili.cui@intel.com>
  1432. * doc/c-i386.texi: Document x/y/z instruction sufffixes in AT&T
  1433. syntax and xmmword/ymmword/zmmword/fword/tbyte/oword ptr in
  1434. Intel syntax.
  1435. 2019-06-25 Faraz Shahbazker <fshahbazker@wavecomp.com>
  1436. * config/tc-mips.c (macro) <M_LI>: Re-order MTHC1 with
  1437. respect to MTC1 and use $0 for either part where possible.
  1438. * testsuite/gas/mips/li-d.s: Add test cases for non-zero
  1439. words in double precision constants.
  1440. * testsuite/gas/mips/li-d.d: Update reference output.
  1441. * testsuite/gas/mips/micromips@isa-override-1.d: Likewise.
  1442. * testsuite/gas/mips/mips32r2@isa-override-1.d: Likewise.
  1443. * testsuite/gas/mips/mips64r2@isa-override-1.d: Likewise.
  1444. 2019-06-25 Jan Beulich <jbeulich@suse.com>
  1445. * tc-i386.c (acc32, acc64): Delete.
  1446. (pi): Make first parameter pinter-to-const.
  1447. (type_names): Remove Acc. Add acc8, acc16, acc32, and acc64.
  1448. (pt): Use operand_type_equal().
  1449. (match_template): Replace use of acc32.
  1450. (process_suffix): Replace use of acc64.
  1451. 2019-06-25 Jan Beulich <jbeulich@suse.com>
  1452. * doc/c-i386.texi: Mark -mavxscalar= and -mvexwig as dangrous to
  1453. use.
  1454. 2019-06-25 Jan Beulich <jbeulich@suse.com>
  1455. * tc-i386.c (process_suffix): Use is_any_vex_encoding().
  1456. 2019-06-25 Jan Beulich <jbeulich@suse.com>
  1457. * testsuite/gas/i386/sse2-16bit.d,
  1458. testsuite/gas/i386/sse2-16bit.s: New.
  1459. testsuite/gas/i386/i386.exp: Run new test.
  1460. 2019-06-25 Jan Beulich <jbeulich@suse.com>
  1461. * config/tc-i386.c (optimize_encoding): Also handle ANDQ with
  1462. immediatie fitting in 7 bits.
  1463. * testsuite/gas/i386/x86-64-optimize-1.s: Add ANDQ cases with
  1464. 7- and 8-bit immediates.
  1465. * testsuite/gas/i386/x86-64-optimize-1.d: Adjust expectations.
  1466. 2019-06-25 Jan Beulich <jbeulich@suse.com>
  1467. * testsuite/gas/i386/xmmword.s: Add cvtps2pi and cvttps2pi
  1468. tests.
  1469. * testsuite/gas/i386/xmmword.l: Adjust expectations.
  1470. 2019-06-25 Alan Modra <amodra@gmail.com>
  1471. * config/tc-ppc.c (ppc_handle_align): Add parentheses.
  1472. 2019-06-25 Alan Modra <amodra@gmail.com>
  1473. * config/tc-ppc.h (ppc_nop_select): Declare.
  1474. (NOP_OPCODE): Define.
  1475. * config/tc-ppc.c (ppc_elf_end, ppc_xcoff_end): Zero ppc_cpu.
  1476. (ppc_nop_encoding_for_rs_align_code): New enum.
  1477. (ppc_nop_select): New function.
  1478. (ppc_handle_align): Don't use ppc_cpu here. Get nop type from frag.
  1479. * testsuite/gas/ppc/groupnop.d,
  1480. * testsuite/gas/ppc/groupnop.s: New test.
  1481. * testsuite/gas/ppc/ppc.exp: Run it.
  1482. 2019-06-19 H.J. Lu <hongjiu.lu@intel.com>
  1483. PR binutils/24700
  1484. * testsuite/gas/i386/disassem.s: Add test for vbroadcasti32x8
  1485. with invalid vector length.
  1486. * testsuite/gas/i386/x86-64-disassem.s: Likewise.
  1487. * testsuite/gas/i386/disassem.d: Updated.
  1488. * testsuite/gas/i386/x86-64-disassem.d: Likewise.
  1489. 2019-06-17 H.J. Lu <hongjiu.lu@intel.com>
  1490. PR binutils/24691
  1491. * testsuite/gas/i386/disassem.s: Add test for vshuff32x4 with
  1492. invalid vector length.
  1493. * testsuite/gas/i386/x86-64-disassem.s: Likewise.
  1494. * testsuite/gas/i386/disassem.d: Updated.
  1495. * testsuite/gas/i386/x86-64-disassem.d: Likewise.
  1496. 2019-06-14 Alan Modra <amodra@gmail.com>
  1497. * Makefile.in: Regenerate.
  1498. * configure: Regenerate.
  1499. * doc/Makefile.in: Regenerate.
  1500. 2019-06-12 Peter Bergner <bergner@linux.ibm.com>
  1501. * testsuite/gas/ppc/power9.d: Delete ldmx tests.
  1502. * testsuite/gas/ppc/power9.s: Likewise.
  1503. 2019-06-06 Lili Cui <lili.cui@intel.com>
  1504. * config/tc-i386.c (cpu_arch): Add .enqcmd.
  1505. (cpu_noarch): Add noenqcmd.
  1506. * doc/c-i386.texi: Document noenqcmd.
  1507. 2019-06-05 H.J. Lu <hongjiu.lu@intel.com>
  1508. PR binutils/24633
  1509. * testsuite/gas/i386/disassem.s: Add tests for invalid vector
  1510. lengths for EVEX vextractfXX and vinsertfXX.
  1511. * testsuite/gas/i386/x86-64-disassem.s: Likewise.
  1512. * testsuite/gas/i386/disassem.d: Updated.
  1513. * testsuite/gas/i386/x86-64-disassem.d: Likewise.
  1514. 2019-06-04 H.J. Lu <hongjiu.lu@intel.com>
  1515. PR binutils/24626
  1516. * testsuite/gas/i386/disassem.s: Add tests for reserved VEX.vvvv
  1517. and EVEX.vvvv.
  1518. * testsuite/gas/i386/x86-64-disassem.s: Likewise.
  1519. * testsuite/gas/i386/disassem.d: Updated.
  1520. * testsuite/gas/i386/x86-64-disassem.d: Likewise.
  1521. 2019-06-04 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
  1522. Lili Cui <lili.cui@intel.com>
  1523. * config/tc-i386.c (cpu_arch): Add .avx512_vp2intersect.
  1524. (cpu_noarch): Likewise.
  1525. * doc/c-i386.texi: Document avx512_vp2intersect.
  1526. * testsuite/gas/i386/i386.exp: Run vp2intersect tests.
  1527. * testsuite/gas/i386/vp2intersect-intel.d: New test.
  1528. * testsuite/gas/i386/vp2intersect.d: Likewise.
  1529. * testsuite/gas/i386/vp2intersect.s: Likewise.
  1530. * testsuite/gas/i386/vp2intersect-inval-bcast.l: Likewise.
  1531. * testsuite/gas/i386/vp2intersect-inval-bcast.s: Likewise.
  1532. * testsuite/gas/i386/x86-64-vp2intersect-intel.d: Likewise.
  1533. * testsuite/gas/i386/x86-64-vp2intersect.d: Likewise.
  1534. * testsuite/gas/i386/x86-64-vp2intersect.s: Likewise.
  1535. * testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l: Likewise.
  1536. * testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s: Likewise.
  1537. 2019-06-04 Xuepeng Guo <xuepeng.guo@intel.com>
  1538. Lili Cui <lili.cui@intel.com>
  1539. * doc/c-i386.texi: Document enqcmd.
  1540. * testsuite/gas/i386/enqcmd-intel.d: New file.
  1541. * testsuite/gas/i386/enqcmd-inval.l: Likewise.
  1542. * testsuite/gas/i386/enqcmd-inval.s: Likewise.
  1543. * testsuite/gas/i386/enqcmd.d: Likewise.
  1544. * testsuite/gas/i386/enqcmd.s: Likewise.
  1545. * testsuite/gas/i386/x86-64-enqcmd-intel.d: Likewise.
  1546. * testsuite/gas/i386/x86-64-enqcmd-inval.l: Likewise.
  1547. * testsuite/gas/i386/x86-64-enqcmd-inval.s: Likewise.
  1548. * testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
  1549. * testsuite/gas/i386/x86-64-enqcmd.s: Likewise.
  1550. * testsuite/gas/i386/i386.exp: Run enqcmd-intel, enqcmd-inval,
  1551. enqcmd, x86-64-enqcmd-intel, x86-64-enqcmd-inval,
  1552. and x86-64-enqcmd.
  1553. 2019-05-30 Jim Wilson <jimw@sifive.com>
  1554. * config/tc-riscv.c (riscv_ip) <'u'>: Move O_constant check inside if
  1555. statement. Delete O_symbol and O_constant check after if statement.
  1556. * testsuite/gas/riscv/auipc-parsing.s: Test lui with missing %hi.
  1557. * testsuite/gas/riscv/auipc-parsing.l: Update.
  1558. 2019-05-28 H.J. Lu <hongjiu.lu@intel.com>
  1559. PR gas/24625
  1560. * testsuite/gas/i386/inval-avx512f.s: Add tests for AVX512_BF16
  1561. instructions with invalid broadcast.
  1562. * testsuite/gas/i386/x86-64-inval-avx512f.s: Likewise.
  1563. * testsuite/gas/i386/inval-avx512f.l: Updated.
  1564. * testsuite/gas/i386/x86-64-inval-avx512f.l: Likewise.
  1565. 2019-05-27 Alan Modra <amodra@gmail.com>
  1566. * config/tc-ppc.c (is_ppc64_target): New function.
  1567. (md_show_usage): Split up usage message. Don't show -a64 when
  1568. unsupported.
  1569. testsuite/gas/ppc/ppc.exp (supports_ppc64): New.
  1570. (prefix-reloc): Only run for ppc64.
  1571. 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
  1572. * config/tc-aarch64.c (aarch64_elf_copy_symbol_attributes): Define.
  1573. * config/tc-aarch64.h (aarch64_elf_copy_symbol_attributes): Declare.
  1574. (OBJ_COPY_SYMBOL_ATTRIBUTES): Define.
  1575. * testsuite/gas/aarch64/symbol-variant_pcs-3.d: New test.
  1576. * testsuite/gas/aarch64/symbol-variant_pcs-3.s: New test.
  1577. 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
  1578. * config/tc-aarch64.c (s_variant_pcs): New function.
  1579. * doc/c-aarch64.texi: Document .variant_pcs.
  1580. * testsuite/gas/aarch64/symbol-variant_pcs-1.d: New test.
  1581. * testsuite/gas/aarch64/symbol-variant_pcs-1.s: New test.
  1582. * testsuite/gas/aarch64/symbol-variant_pcs-2.d: New test.
  1583. * testsuite/gas/aarch64/symbol-variant_pcs-2.s: New test.
  1584. 2019-05-24 Alan Modra <amodra@gmail.com>
  1585. * po/POTFILES.in: Regenerate.
  1586. 2019-05-24 Alan Modra <amodra@gmail.com>
  1587. * config/tc-ppc.c (ppc_elf_suffix): Support @pcrel, @got@pcrel,
  1588. @plt@pcrel, @higher34, @highera34, @highest34, and @highesta34.
  1589. (fixup_size): Handle new powerxx relocs.
  1590. (md_assemble): Warn for @pcrel on non-prefix insns.
  1591. Accept @l, @h and @ha on prefix insns, and infer reloc without
  1592. any @ suffix. Translate powerxx relocs to suit DQ and DS field
  1593. instructions. Include operand tests as well as opcode test to
  1594. translate BFD_RELOC_HI16_S to BFD_RELOC_PPC_16DX_HA.
  1595. (ppc_fix_adjustable): Return false for pcrel GOT and PLT relocs.
  1596. (md_apply_fix): Handle new powerxx relocs.
  1597. * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): Accept
  1598. BFD_RELOC_PPC64_ADDR16_HIGHER34, BFD_RELOC_PPC64_ADDR16_HIGHERA34,
  1599. BFD_RELOC_PPC64_ADDR16_HIGHEST34, BFD_RELOC_PPC64_ADDR16_HIGHESTA34,
  1600. BFD_RELOC_PPC64_D34, and BFD_RELOC_PPC64_D28.
  1601. * testsuite/gas/ppc/prefix-reloc.d,
  1602. * testsuite/gas/ppc/prefix-reloc.s: New test.
  1603. * testsuite/gas/ppc/ppc.exp: Run it.
  1604. 2019-05-24 Peter Bergner <bergner@linux.ibm.com>
  1605. Alan Modra <amodra@gmail.com>
  1606. * config/tc-ppc.c (ppc_insert_operand): Only sign extend fields that
  1607. are 32-bits or smaller.
  1608. * messages.c (as_internal_value_out_of_range): Do not truncate
  1609. variables and use BFD_VMA_FMT to print them.
  1610. * testsuite/gas/ppc/prefix-pcrel.s,
  1611. * testsuite/gas/ppc/prefix-pcrel.d: New test.
  1612. * testsuite/gas/ppc/ppc.exp: Run it.
  1613. 2019-05-24 Peter Bergner <bergner@linux.ibm.com>
  1614. Alan Modra <amodra@gmail.com>
  1615. * config/tc-ppc.c (ppc_setup_opcodes): Handle prefix_opcodes.
  1616. (struct insn_label_list): New.
  1617. (insn_labels, free_insn_labels): New variables.
  1618. (ppc_record_label, ppc_clear_labels, ppc_start_line_hook): New funcs.
  1619. (ppc_frob_label, ppc_new_dot_label): Move functions earlier in file
  1620. and call ppc_record_label.
  1621. (md_assemble): Handle 64-bit prefix instructions. Align labels
  1622. that are on the same line as a prefix instruction.
  1623. * config/tc-ppc.h (tc_frob_label, ppc_frob_label): Move to
  1624. later in the file.
  1625. (md_start_line_hook): Define.
  1626. (ppc_start_line_hook): Declare.
  1627. * testsuite/gas/ppc/prefix-align.d,
  1628. * testsuite/gas/ppc/prefix-align.s: New test.
  1629. * testsuite/gas/ppc/ppc.exp: Run new test.
  1630. 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
  1631. * configure.ac: Handle bpf-*-* targets.
  1632. * configure.tgt (generic_target): Likewise.
  1633. * configure: Regenerate.
  1634. * Makefile.am (TARGET_CPU_CFILES): Add tc-bpf.c.
  1635. (TARGET_CPU_HFILES): Add tc-bpf.h.
  1636. * Makefile.in: Regenerated.
  1637. * config/tc-bpf.c: New file.
  1638. * config/tc-bpf.h: Likewise.
  1639. * doc/Makefile.am (CPU_DOCS): Add c-bpf.texi.
  1640. * doc/Makefile.in: Regenerated.
  1641. * doc/all.texi: set BPF.
  1642. * doc/as.texi: Add eBPF contents.
  1643. * doc/c-bpf.texi: New file.
  1644. * testsuite/gas/bpf/alu.d: New file.
  1645. * testsuite/gas/bpf/mem-be.d: Likewise.
  1646. * testsuite/gas/bpf/mem.s: Likewise.
  1647. * testsuite/gas/bpf/mem.d: Likewise.
  1648. * testsuite/gas/bpf/lddw-be.d: Likewise.
  1649. * testsuite/gas/bpf/lddw.s: Likewise.
  1650. * testsuite/gas/bpf/lddw.d: Likewise.
  1651. * testsuite/gas/bpf/jump-be.d: Likewise.
  1652. * testsuite/gas/bpf/jump.s: Likewise.
  1653. * testsuite/gas/bpf/jump.d: Likewise.
  1654. * testsuite/gas/bpf/exit-be.d: Likewise.
  1655. * testsuite/gas/bpf/exit.s: Likewise.
  1656. * testsuite/gas/bpf/exit.d: Likewise.
  1657. * testsuite/gas/bpf/call-be.d: Likewise.
  1658. * testsuite/gas/bpf/call.s: Likewise.
  1659. * testsuite/gas/bpf/call.d: Likewise.
  1660. * testsuite/gas/bpf/bpf.exp: Likewise.
  1661. * testsuite/gas/bpf/atomic-be.d: Likewise.
  1662. * testsuite/gas/bpf/atomic.s: Likewise.
  1663. * testsuite/gas/bpf/atomic.d: Likewise.
  1664. * testsuite/gas/bpf/alu-be.d: Likewise.
  1665. * testsuite/gas/bpf/alu32-be.d: Likewise.
  1666. * testsuite/gas/bpf/alu32.s: Likewise.
  1667. * testsuite/gas/bpf/alu32.d: Likewise.
  1668. * testsuite/gas/bpf/alu.s: Likewise.
  1669. * testsuite/gas/all/gas.exp: Introduce a nop_type for eBPF.
  1670. * testsuite/gas/all/org-1.s: Support nop_type 6.
  1671. * testsuite/gas/all/org-1.l: Updated to reflect changes in
  1672. org-1.s.
  1673. 2019-05-22 John Darrington <john@darrington.wattle.id.au>
  1674. * config/tc-s12z.c (s12z_strtol): New function. (md_show_usage): Update.
  1675. (md_parse_option): new case OPTION_DOLLAR_HEX. (s12z_init_after_args):
  1676. (<global>): Use s12z_strtol instead of strtol.
  1677. * doc/c-s12z.texi (S12Z Options): Document new option -mdollar-hex.
  1678. * testsuite/gas/s12z/dollar-hex.d: New file.
  1679. * testsuite/gas/s12z/dollar-hex.s: New file.
  1680. * testsuite/gas/s12z/s12z.exp: Add them.
  1681. 2019-05-21 Sudakshina Das <sudi.das@arm.com>
  1682. * config/tc-arm.c (parse_operands): Update case OP_RVC to
  1683. parse p0 and P0.
  1684. (do_vmrs): Add checks for valid operands with respect to
  1685. cpu and fpu options.
  1686. (do_vmsr): Likewise.
  1687. (reg_names): New reg_names for FPSCR_nzcvqc, VPR, FPCXT_NS
  1688. and FPCXT_S.
  1689. * testsuite/gas/arm/armv8_1-m-spec-reg.d: New.
  1690. * testsuite/gas/arm/armv8_1-m-spec-reg.s: New.
  1691. * testsuite/gas/arm/armv8_1-m-spec-reg-bad1.d: New.
  1692. * testsuite/gas/arm/armv8_1-m-spec-reg-bad2.d: New.
  1693. * testsuite/gas/arm/armv8_1-m-spec-reg-bad3.d: New.
  1694. * testsuite/gas/arm/armv8_1-m-spec-reg-bad1.l: New.
  1695. * testsuite/gas/arm/armv8_1-m-spec-reg-bad2.l: New.
  1696. * testsuite/gas/arm/armv8_1-m-spec-reg-bad3.l: New.
  1697. * testsuite/gas/arm/vfp1xD.d: Updated to allow new valid values.
  1698. * testsuite/gas/arm/vfp1xD_t2.d: Likewise.
  1699. 2019-05-21 Sudakshina Das <sudi.das@arm.com>
  1700. * config/tc-arm.c (TOGGLE_BIT): New.
  1701. (T16_32_TAB): New entries for cinc, cinv, cneg, csinc,
  1702. csinv, csneg, cset, csetm and csel.
  1703. (operand_parse_code): New OP_RR_ZR.
  1704. (parse_operand): Handle case for OP_RR_ZR.
  1705. (do_t_cond): New.
  1706. (insns): New instructions for cinc, cinv, cneg, csinc,
  1707. csinv, csneg, cset, csetm, csel.
  1708. * testsuite/gas/arm/armv8_1-m-cond-bad.d: New test.
  1709. * testsuite/gas/arm/armv8_1-m-cond-bad.l: New test.
  1710. * testsuite/gas/arm/armv8_1-m-cond-bad.s: New test.
  1711. * testsuite/gas/arm/armv8_1-m-cond.d: New test.
  1712. * testsuite/gas/arm/armv8_1-m-cond.s: New test.
  1713. 2019-05-21 Sudakshina Das <sudi.das@arm.com>
  1714. * config/tc-arm.c (operand_parse_code): New entries for
  1715. OP_RRnpcsp_I32 (register or integer operands).
  1716. (do_mve_scalar_shift): New.
  1717. (insns): New instructions for asrl, lsll, lsrl, sqrshrl, sqrshr, sqshl
  1718. sqshll, srshr, srshrl, uqrshll, uqrshl, uqshll, uqshl, urshrl and urshr.
  1719. * testsuite/gas/arm/mve-shift.d: New.
  1720. * testsuite/gas/arm/mve-shift.s: New.
  1721. * testsuite/gas/arm/mve-shift-bad.d: New.
  1722. * testsuite/gas/arm/mve-shift-bad.s: New.
  1723. * testsuite/gas/arm/mve-shift-bad.l: New.
  1724. 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
  1725. * testsuite/gas/mips/r6-branch-constraints.s: Rename to ...
  1726. * testsuite/gas/mips/r6-reg-constraints.s: this and add test
  1727. case for DAUI.
  1728. * testsuite/gas/mips/r6-branch-constraints.l: Rename to ...
  1729. * testsuite/gas/mips/r6-reg-constraints.l: this and add test
  1730. for DAUI.
  1731. * testsuite/gas/mips/mips.exp: Rename test from
  1732. r6-branch-constraints to r6-reg-constraints.
  1733. 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
  1734. PR 24559
  1735. * config/tc-arm.c (move_or_literal_pool): Set size_req to 0 for MOVW
  1736. replacement.
  1737. * testsuite/gas/arm/load-pseudo.s: New test input.
  1738. * testsuite/gas/arm/m0-load-pseudo.d: New test.
  1739. * testsuite/gas/arm/m23-load-pseudo.d: New test.
  1740. * testsuite/gas/arm/m33-load-pseudo.d: New test.
  1741. 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
  1742. * testsuite/gas/arm/armv8_1-m-bf.d: Allow different branch target naming
  1743. conventions.
  1744. * testsuite/gas/arm/armv8_1-m-bfl.d: Likewise.
  1745. * testsuite/gas/arm/armv8_1-m-bfcsel.d: Likewise.
  1746. * testsuite/gas/arm/armv8_1-m-loloop.d: Likewise.
  1747. * testsuite/gas/arm/armv8_1-m-bf-rel.d: Skip for vxworks.
  1748. * testsuite/gas/arm/armv8_1-m-bf-rela.d: New test.
  1749. * testsuite/gas/arm/armv8_1-m-bfl-rel.d: Skip for vxworks.
  1750. * testsuite/gas/arm/armv8_1-m-bfl-rela.d: New test.
  1751. 2019-05-21 John Darrington <john@darrington.wattle.id.au>
  1752. * expr.c (literal_prefix_dollar_hex): New variable.
  1753. (operand)[case '$']: Use the new variable instead of the old macro.
  1754. Also, move this instance of "case '$'" next to the other one, and
  1755. enable it only in the complementary proprocessor case.
  1756. * expr.h (literal_prefix_dollar_hex): Declare it.
  1757. * config/tc-epiphany.c (md_begin): Assign literal_prefix_dollar_hex.
  1758. * config/tc-ip2k.c: ditto
  1759. * config/tc-mt.c: ditto
  1760. * config/tc-epiphany.h (LITERAL_PREFIXDOLLAR_HEX): Remove macro definition.
  1761. * config/tc-ip2k.h: ditto
  1762. * config/tc-mt.h: ditto
  1763. 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
  1764. PR 14798
  1765. * config/tc-mips.c (s_mips_globl): Only treat symbols that are
  1766. not explicitly labelled as BSF_OBJECTs for IRIX targets.
  1767. * testsuite/gas/mips/pr14798.s: New test source.
  1768. * testsuite/gas/mips/pr14798-irix.d: New test.
  1769. * testsuite/gas/mips/pr14798.d: Likewise.
  1770. * testsuite/gas/mips/mips.exp: Run the new tests.
  1771. 2019-05-17 John Darrington <john@darrington.wattle.id.au>
  1772. * doc/c-arm.texi (ARM Options): Remove "(r)" and "(tm)"
  1773. * doc/c-bfin.texi (Blackfin Syntax): Remove "(r)"
  1774. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  1775. * config/tc-arm.c (check_simd_pred_availability): Refactor.
  1776. (do_neon_dyadic_i_su): Refactor use of check_simd_pred_availability.
  1777. (do_neon_dyadic_i64_su): Likewise.
  1778. (do_neon_shl): Likewise.
  1779. (do_neon_qshl): Likewise.
  1780. (do_neon_rshl): Likewise.
  1781. (do_neon_logic): Likewise.
  1782. (do_neon_dyadic_if_su): Likewise.
  1783. (do_neon_addsub_if_i): Likewise.
  1784. (do_neon_mac_maybe_scalar): Likewise.
  1785. (do_neon_fmac): Likewise.
  1786. (do_neon_mul): Likewise.
  1787. (do_neon_qdmulh): Likewise.
  1788. (do_neon_qrdmlah): Likewise.
  1789. (do_neon_abs_neg): Likewise.
  1790. (do_neon_sli): Likewise.
  1791. (do_neon_sri): Likewise.
  1792. (do_neon_qshlu_imm): Likewise.
  1793. (do_neon_cvt_1): Likewise.
  1794. (do_neon_cvttb_1): Likewise.
  1795. (do_neon_mvn): Likewise.
  1796. (do_neon_rev): Likewise.
  1797. (do_neon_dup): Likewise.
  1798. (do_neon_mov): Likewise.
  1799. (do_neon_rshift_round_imm): Likewise.
  1800. (do_neon_sat_abs_neg): Likewise.
  1801. (do_neon_cls): Likewise.
  1802. (do_neon_clz): Likewise.
  1803. (do_vmaxnm): Likewise.
  1804. (do_vrint_1): Likewise.
  1805. (do_vcmla): Likewise.
  1806. (do_vcadd): Likewise.
  1807. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  1808. * NEWS: Mention Armv8.1-M Mainline and MVE.
  1809. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  1810. * testsuite/gas/arm/mve-tailpredloop.d: New test.
  1811. * testsuite/gas/arm/mve-tailpredloop.s: New test.
  1812. * testsuite/gas/arm/mve-vabav.d: New test.
  1813. * testsuite/gas/arm/mve-vabav.s: New test.
  1814. * testsuite/gas/arm/mve-vabd.d: New test.
  1815. * testsuite/gas/arm/mve-vabd.s: New test.
  1816. * testsuite/gas/arm/mve-vabsneg.d: New test.
  1817. * testsuite/gas/arm/mve-vabsneg.s: New test.
  1818. * testsuite/gas/arm/mve-vadc.d: New test.
  1819. * testsuite/gas/arm/mve-vadc.s: New test.
  1820. * testsuite/gas/arm/mve-vaddlv.d: New test.
  1821. * testsuite/gas/arm/mve-vaddlv.s: New test.
  1822. * testsuite/gas/arm/mve-vaddsub.d: New test.
  1823. * testsuite/gas/arm/mve-vaddsub.s: New test.
  1824. * testsuite/gas/arm/mve-vaddv.d: New test.
  1825. * testsuite/gas/arm/mve-vaddv.s: New test.
  1826. * testsuite/gas/arm/mve-vand.d: New test.
  1827. * testsuite/gas/arm/mve-vand.s: New test.
  1828. * testsuite/gas/arm/mve-vbic.d: New test.
  1829. * testsuite/gas/arm/mve-vbic.s: New test.
  1830. * testsuite/gas/arm/mve-vbrsr.d: New test.
  1831. * testsuite/gas/arm/mve-vbrsr.s: New test.
  1832. * testsuite/gas/arm/mve-vcadd.d: New test.
  1833. * testsuite/gas/arm/mve-vcadd.s: New test.
  1834. * testsuite/gas/arm/mve-vcls.d: New test.
  1835. * testsuite/gas/arm/mve-vcls.s: New test.
  1836. * testsuite/gas/arm/mve-vclz.d: New test.
  1837. * testsuite/gas/arm/mve-vclz.s: New test.
  1838. * testsuite/gas/arm/mve-vcmla.d: New test.
  1839. * testsuite/gas/arm/mve-vcmla.s: New test.
  1840. * testsuite/gas/arm/mve-vcmp.d: New test.
  1841. * testsuite/gas/arm/mve-vcmp.s: New test.
  1842. * testsuite/gas/arm/mve-vcmul.d: New test.
  1843. * testsuite/gas/arm/mve-vcmul.s: New test.
  1844. * testsuite/gas/arm/mve-vcvt-1.d: New test.
  1845. * testsuite/gas/arm/mve-vcvt-1.s: New test.
  1846. * testsuite/gas/arm/mve-vcvt-2.d: New test.
  1847. * testsuite/gas/arm/mve-vcvt-2.s: New test.
  1848. * testsuite/gas/arm/mve-vcvt-3.d: New test.
  1849. * testsuite/gas/arm/mve-vcvt-3.s: New test.
  1850. * testsuite/gas/arm/mve-vcvt-4.d: New test.
  1851. * testsuite/gas/arm/mve-vcvt-4.s: New test.
  1852. * testsuite/gas/arm/mve-vddup.d: New test.
  1853. * testsuite/gas/arm/mve-vddup.s: New test.
  1854. * testsuite/gas/arm/mve-vdup.d: New test.
  1855. * testsuite/gas/arm/mve-vdup.s: New test.
  1856. * testsuite/gas/arm/mve-veor.d: New test.
  1857. * testsuite/gas/arm/mve-veor.s: New test.
  1858. * testsuite/gas/arm/mve-vfma-vfms.d: New test.
  1859. * testsuite/gas/arm/mve-vfma-vfms.s: New test.
  1860. * testsuite/gas/arm/mve-vfmas.d: New test.
  1861. * testsuite/gas/arm/mve-vfmas.s: New test.
  1862. * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd.d: New test.
  1863. * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd.s: New test.
  1864. * testsuite/gas/arm/mve-vhcadd.d: New test.
  1865. * testsuite/gas/arm/mve-vhcadd.s: New test.
  1866. * testsuite/gas/arm/mve-vmax-vmin.d: New test.
  1867. * testsuite/gas/arm/mve-vmax-vmin.s: New test.
  1868. * testsuite/gas/arm/mve-vmaxa-vmina.d: New test.
  1869. * testsuite/gas/arm/mve-vmaxa-vmina.s: New test.
  1870. * testsuite/gas/arm/mve-vmaxnm-vminnm.d: New test.
  1871. * testsuite/gas/arm/mve-vmaxnm-vminnm.s: New test.
  1872. * testsuite/gas/arm/mve-vmaxnma-vminnma.s: New test.
  1873. * testsuite/gas/arm/mve-vmaxnmv-vminnmv.d: New test.
  1874. * testsuite/gas/arm/mve-vmaxnmv-vminnmv.s: New test.
  1875. * testsuite/gas/arm/mve-vmaxv-vminv.d: New test.
  1876. * testsuite/gas/arm/mve-vmaxv-vminv.s: New test.
  1877. * testsuite/gas/arm/mve-vmla.d: New test.
  1878. * testsuite/gas/arm/mve-vmla.s: New test.
  1879. * testsuite/gas/arm/mve-vmladav.d: New test.
  1880. * testsuite/gas/arm/mve-vmladav.s: New test.
  1881. * testsuite/gas/arm/mve-vmlaldav.d: New test.
  1882. * testsuite/gas/arm/mve-vmlaldav.s: New test.
  1883. * testsuite/gas/arm/mve-vmlalv.d: New test.
  1884. * testsuite/gas/arm/mve-vmlalv.s: New test.
  1885. * testsuite/gas/arm/mve-vmlas.d: New test.
  1886. * testsuite/gas/arm/mve-vmlas.s: New test.
  1887. * testsuite/gas/arm/mve-vmlav.d: New test.
  1888. * testsuite/gas/arm/mve-vmlav.s: New test.
  1889. * testsuite/gas/arm/mve-vmlsdav.d: New test.
  1890. * testsuite/gas/arm/mve-vmlsdav.s: New test.
  1891. * testsuite/gas/arm/mve-vmlsldav.d: New test.
  1892. * testsuite/gas/arm/mve-vmlsldav.s: New test.
  1893. * testsuite/gas/arm/mve-vmov-1.d: New test.
  1894. * testsuite/gas/arm/mve-vmov-1.s: New test.
  1895. * testsuite/gas/arm/mve-vmov-2.d: New test.
  1896. * testsuite/gas/arm/mve-vmov-2.s: New test.
  1897. * testsuite/gas/arm/mve-vmul.d: New test.
  1898. * testsuite/gas/arm/mve-vmul.s: New test.
  1899. * testsuite/gas/arm/mve-vmulh.d: New test.
  1900. * testsuite/gas/arm/mve-vmulh.s: New test.
  1901. * testsuite/gas/arm/mve-vmullbt.d: New test.
  1902. * testsuite/gas/arm/mve-vmullbt.s: New test.
  1903. * testsuite/gas/arm/mve-vmvn.d: New test.
  1904. * testsuite/gas/arm/mve-vmvn.s: New test.
  1905. * testsuite/gas/arm/mve-vorn.d: New test.
  1906. * testsuite/gas/arm/mve-vorn.s: New test.
  1907. * testsuite/gas/arm/mve-vorr.d: New test.
  1908. * testsuite/gas/arm/mve-vorr.s: New test.
  1909. * testsuite/gas/arm/mve-vpnot.d: New test.
  1910. * testsuite/gas/arm/mve-vpnot.s: New test.
  1911. * testsuite/gas/arm/mve-vpsel.d: New test.
  1912. * testsuite/gas/arm/mve-vpsel.s: New test.
  1913. * testsuite/gas/arm/mve-vpt.d: New test.
  1914. * testsuite/gas/arm/mve-vpt.s: New test.
  1915. * testsuite/gas/arm/mve-vqabsneg.s: New test.
  1916. * testsuite/gas/arm/mve-vqaddsub.d: New test.
  1917. * testsuite/gas/arm/mve-vqaddsub.s: New test.
  1918. * testsuite/gas/arm/mve-vqdmladh.d: New test.
  1919. * testsuite/gas/arm/mve-vqdmladh.s: New test.
  1920. * testsuite/gas/arm/mve-vqdmlah.d: New test.
  1921. * testsuite/gas/arm/mve-vqdmlah.s: New test.
  1922. * testsuite/gas/arm/mve-vqdmlash.d: New test.
  1923. * testsuite/gas/arm/mve-vqdmlash.s: New test.
  1924. * testsuite/gas/arm/mve-vqdmlsdh.d: New test.
  1925. * testsuite/gas/arm/mve-vqdmlsdh.s: New test.
  1926. * testsuite/gas/arm/mve-vqdmulh.d: New test.
  1927. * testsuite/gas/arm/mve-vqdmulh.s: New test.
  1928. * testsuite/gas/arm/mve-vqdmull.d: New test.
  1929. * testsuite/gas/arm/mve-vqdmull.s: New test.
  1930. * testsuite/gas/arm/mve-vqmovn.d: New test.
  1931. * testsuite/gas/arm/mve-vqmovn.s: New test.
  1932. * testsuite/gas/arm/mve-vqrshl.d: New test.
  1933. * testsuite/gas/arm/mve-vqrshl.s: New test.
  1934. * testsuite/gas/arm/mve-vqrshrn.d: New test.
  1935. * testsuite/gas/arm/mve-vqrshrn.s: New test.
  1936. * testsuite/gas/arm/mve-vqshl.d: New test.
  1937. * testsuite/gas/arm/mve-vqshl.s: New test.
  1938. * testsuite/gas/arm/mve-vrev.d: New test.
  1939. * testsuite/gas/arm/mve-vrev.s: New test.
  1940. * testsuite/gas/arm/mve-vrint.d: New test.
  1941. * testsuite/gas/arm/mve-vrint.s: New test.
  1942. * testsuite/gas/arm/mve-vrmlaldavh.d: New test.
  1943. * testsuite/gas/arm/mve-vrmlaldavh.s: New test.
  1944. * testsuite/gas/arm/mve-vrshl.d: New test.
  1945. * testsuite/gas/arm/mve-vrshl.s: New test.
  1946. * testsuite/gas/arm/mve-vsbc.d: New test.
  1947. * testsuite/gas/arm/mve-vsbc.s: New test.
  1948. * testsuite/gas/arm/mve-vshl.d: New test.
  1949. * testsuite/gas/arm/mve-vshl.s: New test.
  1950. * testsuite/gas/arm/mve-vshlc.d: New test.
  1951. * testsuite/gas/arm/mve-vshlc.s: New test.
  1952. * testsuite/gas/arm/mve-vshll.d: New test.
  1953. * testsuite/gas/arm/mve-vshll.s: New test.
  1954. * testsuite/gas/arm/mve-vshr.d: New test.
  1955. * testsuite/gas/arm/mve-vshr.s: New test.
  1956. * testsuite/gas/arm/mve-vshrn.d: New test.
  1957. * testsuite/gas/arm/mve-vshrn.s: New test.
  1958. * testsuite/gas/arm/mve-vsli.d: New test.
  1959. * testsuite/gas/arm/mve-vsli.s: New test.
  1960. * testsuite/gas/arm/mve-vsri.d: New test.
  1961. * testsuite/gas/arm/mve-vsri.s: New test.
  1962. * testsuite/gas/arm/mve-vstld.d: New test.
  1963. * testsuite/gas/arm/mve-vstld.s: New test.
  1964. * testsuite/gas/arm/mve-vstrldr-1.d: New test.
  1965. * testsuite/gas/arm/mve-vstrldr-1.s: New test.
  1966. * testsuite/gas/arm/mve-vstrldr-2.d: New test.
  1967. * testsuite/gas/arm/mve-vstrldr-2.s: New test.
  1968. * testsuite/gas/arm/mve-vstrldr-3.d: New test.
  1969. * testsuite/gas/arm/mve-vstrldr-3.s: New test.
  1970. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  1971. * config/tc-arm.c (T16_32_TAB): Add new instructions.
  1972. (do_t_loloop): Changed to handle tail predication variants.
  1973. (md_apply_fix): Likewise.
  1974. (insns): Add entries for MVE mnemonics.
  1975. * testsuite/gas/arm/mve-tailpredloop-bad.d: New test.
  1976. * testsuite/gas/arm/mve-tailpredloop-bad.l: New test.
  1977. * testsuite/gas/arm/mve-tailpredloop-bad.s: New test.
  1978. * testsuite/gas/arm/mve-tailpredloop.d: New test.
  1979. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  1980. * config/tc-arm.c (do_mve_vshll): New encoding function.
  1981. (do_mve_vshlc): Likewise.
  1982. (insns): Add entries for MVE mnemonics.
  1983. * testsuite/gas/arm/mve-vshlc-bad.d: New test.
  1984. * testsuite/gas/arm/mve-vshlc-bad.l: New test.
  1985. * testsuite/gas/arm/mve-vshlc-bad.s: New test.
  1986. * testsuite/gas/arm/mve-vshll-bad.d: New test.
  1987. * testsuite/gas/arm/mve-vshll-bad.l: New test.
  1988. * testsuite/gas/arm/mve-vshll-bad.s: New test.
  1989. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  1990. * config/tc-arm.c (enum operand_parse_code): Add new operand.
  1991. (parse_operands): Handle new operand.
  1992. (do_neon_shl_imm): Accept MVE variants.
  1993. (do_neon_shl): Likewise.
  1994. (do_neon_qshl_imm): Likewise.
  1995. (do_neon_qshl): Likewise.
  1996. (do_neon_qshlu_imm): Likewise.
  1997. (insns): Likewise.
  1998. * testsuite/gas/arm/mve-vqshl-bad.d: New test.
  1999. * testsuite/gas/arm/mve-vqshl-bad.l: New test.
  2000. * testsuite/gas/arm/mve-vqshl-bad.s: New test.
  2001. * testsuite/gas/arm/mve-vshl-bad.d: New test.
  2002. * testsuite/gas/arm/mve-vshl-bad.l: New test.
  2003. * testsuite/gas/arm/mve-vshl-bad.s: New test.
  2004. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2005. * config/tc-arm.c (do_neon_sli): Accept MVE variants.
  2006. (do_neon_sri): Likewise.
  2007. (do_neon_rev): Likewise.
  2008. (do_neon_rshift_round_imm): Likewise.
  2009. (insns): Likewise.
  2010. * testsuite/gas/arm/mve-vrev-bad.d: New test.
  2011. * testsuite/gas/arm/mve-vrev-bad.l: New test.
  2012. * testsuite/gas/arm/mve-vrev-bad.s: New test.
  2013. * testsuite/gas/arm/mve-vshr-bad.d: New test.
  2014. * testsuite/gas/arm/mve-vshr-bad.l: New test.
  2015. * testsuite/gas/arm/mve-vshr-bad.s: New test.
  2016. * testsuite/gas/arm/mve-vsli-bad.d: New test.
  2017. * testsuite/gas/arm/mve-vsli-bad.l: New test.
  2018. * testsuite/gas/arm/mve-vsli-bad.s: New test.
  2019. * testsuite/gas/arm/mve-vsri-bad.d: New test.
  2020. * testsuite/gas/arm/mve-vsri-bad.l: New test.
  2021. * testsuite/gas/arm/mve-vsri-bad.s: New test.
  2022. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2023. * config/tc-arm.c (do_vrint_1): Accept MVE variants.
  2024. (insns): Change entries to accept MVE variants.
  2025. * testsuite/gas/arm/mve-vrint-bad.d: New test.
  2026. * testsuite/gas/arm/mve-vrint-bad.l: New test.
  2027. * testsuite/gas/arm/mve-vrint-bad.s: New test.
  2028. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2029. * config/tc-arm.c (M_MNEM_vshrnt, M_MNEM_vshrnb, M_MNEM_vrshrnt,
  2030. M_MNEM_vqshrnt, M_MNEM_vqshrnb, M_MNEM_vqshrunt, M_MNEM_vqshrunb,
  2031. M_MNEM_vrshrnb, M_MNEM_vqrshrnt, M_MNEM_vqrshrnb, M_MNEM_vqrshrunt,
  2032. M_MNEM_vqrshrunb): New instruction encodings.
  2033. (do_mve_vshrn): New encoding function.
  2034. (insns): Add entries for MVE mnemonics.
  2035. * testsuite/gas/arm/mve-vqrshrn-bad.d: New test.
  2036. * testsuite/gas/arm/mve-vqrshrn-bad.l: New test.
  2037. * testsuite/gas/arm/mve-vqrshrn-bad.s: New test.
  2038. * testsuite/gas/arm/mve-vshrn-bad.d: New test.
  2039. * testsuite/gas/arm/mve-vshrn-bad.l: New test.
  2040. * testsuite/gas/arm/mve-vshrn-bad.s: New test.
  2041. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2042. * config/tc-arm.c (M_MNEM_vqmovnt, M_MNEM_vqmovnb,
  2043. M_MNEM_vqmovunt, M_MNEM_vqmovunb): New instruction encodings.
  2044. (do_mve_vqmovn): New encoding function.
  2045. (do_neon_rshl): Change to accepte MVE variants.
  2046. (insns): Change entries and add new for MVE mnemonics.
  2047. * testsuite/gas/arm/mve-vqmovn-bad.d: New test.
  2048. * testsuite/gas/arm/mve-vqmovn-bad.l: New test.
  2049. * testsuite/gas/arm/mve-vqmovn-bad.s: New test.
  2050. * testsuite/gas/arm/mve-vqrshl-bad.d: New test.
  2051. * testsuite/gas/arm/mve-vqrshl-bad.l: New test.
  2052. * testsuite/gas/arm/mve-vqrshl-bad.s: New test.
  2053. * testsuite/gas/arm/mve-vrshl-bad.d: New test.
  2054. * testsuite/gas/arm/mve-vrshl-bad.l: New test.
  2055. * testsuite/gas/arm/mve-vrshl-bad.s: New test.
  2056. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2057. * config/tc-arm.c (enum operand_parse_code): Add new operand.
  2058. (parse_operands): Handle new operand.
  2059. (do_mve_vqdmull): New encoding function.
  2060. (insns): Add entry for MVE mnemonics.
  2061. * testsuite/gas/arm/mve-vqdmull-bad.d: New test.
  2062. * testsuite/gas/arm/mve-vqdmull-bad.l: New test.
  2063. * testsuite/gas/arm/mve-vqdmull-bad.s: New test.
  2064. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2065. * config/tc-arm.c (enum operand_parse_code): Add new operand.
  2066. (parse_operands): Handle new operand.
  2067. (mve_encode_qqr): Handle new instructions.
  2068. (do_neon_qdmulh): Add support for MVE variants.
  2069. (do_neon_qrdmlah): Likewise.
  2070. (do_mve_vqdmlah): New encoding function.
  2071. (insns): Change entries and add new entries for MVE mnemonics.
  2072. * testsuite/gas/arm/mve-vqdmulh-bad.d: New test.
  2073. * testsuite/gas/arm/mve-vqdmulh-bad.l: New test.
  2074. * testsuite/gas/arm/mve-vqdmulh-bad.s: New test.
  2075. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2076. * config/tc-arm.c (do_mve_vqdmladh): New encoding function.
  2077. (insns): Add entries for MVE mnemonics.
  2078. * testsuite/gas/arm/mve-vqdmladh-bad.d: New test.
  2079. * testsuite/gas/arm/mve-vqdmladh-bad.l: New test.
  2080. * testsuite/gas/arm/mve-vqdmladh-bad.s: New test.
  2081. * testsuite/gas/arm/mve-vqdmlsdh-bad.d: New test.
  2082. * testsuite/gas/arm/mve-vqdmlsdh-bad.l: New test.
  2083. * testsuite/gas/arm/mve-vqdmlsdh-bad.s: New test.
  2084. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2085. * config/tc-arm.c (do_mve_vpsel): New encoding function.
  2086. (do_mve_vpnot): Likewise.
  2087. (insns): Add entries for MVE mnemonics.
  2088. * testsuite/gas/arm/mve-vpnot-bad.d: New test.
  2089. * testsuite/gas/arm/mve-vpnot-bad.l: New test.
  2090. * testsuite/gas/arm/mve-vpnot-bad.s: New test.
  2091. * testsuite/gas/arm/mve-vpsel-bad.d: New test.
  2092. * testsuite/gas/arm/mve-vpsel-bad.l: New test.
  2093. * testsuite/gas/arm/mve-vpsel-bad.s: New test.
  2094. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2095. * config/tc-arm.c (do_neon_mvn): Change to accept MVE variants.
  2096. (do_neon_sat_abs_neg): Likewise.
  2097. (insns): Likewise.
  2098. * testsuite/gas/arm/mve-vmvn-bad.d: New test.
  2099. * testsuite/gas/arm/mve-vmvn-bad.l: New test.
  2100. * testsuite/gas/arm/mve-vmvn-bad.s: New test.
  2101. * testsuite/gas/arm/mve-vqabsneg-bad.d: New test.
  2102. * testsuite/gas/arm/mve-vqabsneg-bad.l: New test.
  2103. * testsuite/gas/arm/mve-vqabsneg-bad.s: New test.
  2104. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2105. * config/tc-arm.c (do_mve_vmlas): New encoding function.
  2106. (do_mve_vmulh): Likewise.
  2107. (insns): Add entries for MVE mnemonics.
  2108. * testsuite/gas/arm/mve-vmlas-bad.d: New test.
  2109. * testsuite/gas/arm/mve-vmlas-bad.l: New test.
  2110. * testsuite/gas/arm/mve-vmlas-bad.s: New test.
  2111. * testsuite/gas/arm/mve-vmulh-bad.d: New test.
  2112. * testsuite/gas/arm/mve-vmulh-bad.l: New test.
  2113. * testsuite/gas/arm/mve-vmulh-bad.s: New test.
  2114. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2115. * config/tc-arm.c (enum operand_parse_code): New operand.
  2116. (parse_operands): Handle new operand.
  2117. (mve_encode_qqr): Handle new instructions.
  2118. (do_neon_dyadic_i64_su): Accept MVE variants.
  2119. (neon_dyadic_misc): Likewise.
  2120. (do_neon_mac_maybe_scalar): Likewise.
  2121. (do_neon_mul): Likewise.
  2122. (insns): Change to accept MVE variants.
  2123. * testsuite/gas/arm/mve-vmla-bad.d: New test.
  2124. * testsuite/gas/arm/mve-vmla-bad.l: New test.
  2125. * testsuite/gas/arm/mve-vmla-bad.s: New test.
  2126. * testsuite/gas/arm/mve-vmul-bad-1.d: New test.
  2127. * testsuite/gas/arm/mve-vmul-bad-1.l: New test.
  2128. * testsuite/gas/arm/mve-vmul-bad-1.s: New test.
  2129. * testsuite/gas/arm/mve-vmul-bad-2.d: New test.
  2130. * testsuite/gas/arm/mve-vmul-bad-2.l: New test.
  2131. * testsuite/gas/arm/mve-vmul-bad-2.s: New test.
  2132. * testsuite/gas/arm/mve-vqaddsub-bad.d: New test.
  2133. * testsuite/gas/arm/mve-vqaddsub-bad.l: New test.
  2134. * testsuite/gas/arm/mve-vqaddsub-bad.s: New test.
  2135. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2136. * config/tc-arm.c (M_MNEM_vmlaldav, M_MNEM_vmlaldava,
  2137. M_MNEM_vmlaldavx, M_MNEM_vmlaldavax, M_MNEM_vmlsldav,
  2138. M_MNEM_vmlsldava, M_MNEM_vmlsldavx, M_MNEM_vmlsldavax,
  2139. M_MNEM_vrmlaldavhx, M_MNEM_vrmlaldavhax, M_MNEM_vrmlsldavh,
  2140. M_MNEM_vrmlsldavha, M_MNEM_vrmlsldavhx, M_MNEM_vrmlsldavhax): New
  2141. instruction encodings.
  2142. (NEON_SHAPE_DEF): New shape
  2143. (mve_encode_rrqq): New encoding helper function.
  2144. (do_mve_vmlaldav): New encoding function.
  2145. (do_mve_vrmlaldavh): New encoding function.
  2146. (insns): Add entries for MVE mnemonics.
  2147. * testsuite/gas/arm/mve-vmlaldav-bad.d: New test.
  2148. * testsuite/gas/arm/mve-vmlaldav-bad.l: New test.
  2149. * testsuite/gas/arm/mve-vmlaldav-bad.s: New test.
  2150. * testsuite/gas/arm/mve-vmlalv-bad.d: New test.
  2151. * testsuite/gas/arm/mve-vmlalv-bad.l: New test.
  2152. * testsuite/gas/arm/mve-vmlalv-bad.s: New test.
  2153. * testsuite/gas/arm/mve-vmlsldav-bad.d: New test.
  2154. * testsuite/gas/arm/mve-vmlsldav-bad.l: New test.
  2155. * testsuite/gas/arm/mve-vmlsldav-bad.s: New test.
  2156. * testsuite/gas/arm/mve-vrmlaldavh-bad.d: New test.
  2157. * testsuite/gas/arm/mve-vrmlaldavh-bad.l: New test.
  2158. * testsuite/gas/arm/mve-vrmlaldavh-bad.s: New test.
  2159. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2160. * config/tc-arm.c (M_MNEM_vmaxv, M_MNEM_vmaxav, M_MNEM_vminv,
  2161. M_MNEM_vminav): New instruction encodings.
  2162. (do_mve_vmaxv): New encoding function.
  2163. (insns): Add entries for new MVE mnemonics.
  2164. * testsuite/gas/arm/mve-vmaxv-vminv-bad.d: New test.
  2165. * testsuite/gas/arm/mve-vmaxv-vminv-bad.l: New test.
  2166. * testsuite/gas/arm/mve-vmaxv-vminv-bad.s: New test.
  2167. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2168. * config/tc-arm.c (do_mve_vmaxnmv): New encoding function.
  2169. (insns): Add entries for new mnemonics.
  2170. * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.d: New test.
  2171. * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.l: New test.
  2172. * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.s: New test.
  2173. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2174. * config/tc-arm.c (do_mve_vmaxa_vmina): New encoding function.
  2175. (do_mve_vmaxnma_vminnma): Likewise.
  2176. (do_neon_dyadic_if_su): Change to support MVE variants.
  2177. (do_vmaxnm): Likewise.
  2178. (insns): Change to accept MVE variants and add new.
  2179. * testsuite/gas/arm/mve-vmax-vmin-bad.d: New test.
  2180. * testsuite/gas/arm/mve-vmax-vmin-bad.l: New test.
  2181. * testsuite/gas/arm/mve-vmax-vmin-bad.s: New test.
  2182. * testsuite/gas/arm/mve-vmaxa-vmina-bad.d: New test.
  2183. * testsuite/gas/arm/mve-vmaxa-vmina-bad.l: New test.
  2184. * testsuite/gas/arm/mve-vmaxa-vmina-bad.s: New test.
  2185. * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.d: New test.
  2186. * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.l: New test.
  2187. * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.s: New test.
  2188. * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.d: New test.
  2189. * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.l: New test.
  2190. * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.s: New test.
  2191. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2192. * config/tc-arm.c (enum operand_parse_code): New operand.
  2193. (parse_operands): Handle new operand.
  2194. (mve_encode_qqr): Change to support new instructions.
  2195. (enum vfp_or_neon_is_neon_bits): Moved.
  2196. (vfp_or_neon_is_neon): Moved.
  2197. (check_simd_pred_availability): Moved.
  2198. (do_neon_dyadic_i_su): Changed to support MVE variants.
  2199. (neon_dyadic_misc): Changed mve_encode_qqr call.
  2200. (do_mve_vbrsr): Likewise.
  2201. (do_mve_vhcadd): New encoding function.
  2202. (insns): Change existing to accept MVE variants and add new.
  2203. * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.d: New test.
  2204. * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.l: New test.
  2205. * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.s: New test.
  2206. * testsuite/gas/arm/mve-vhcadd-bad.d: New test.
  2207. * testsuite/gas/arm/mve-vhcadd-bad.l: New test.
  2208. * testsuite/gas/arm/mve-vhcadd-bad.s: New test.
  2209. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2210. * config/tc-arm.c (do_neon_fmac): Change to support MVE variants.
  2211. (insns): Change to accept MVE variants.
  2212. * testsuite/gas/arm/mve-vfma-vfms-bad.d: New test.
  2213. * testsuite/gas/arm/mve-vfma-vfms-bad.l: New test.
  2214. * testsuite/gas/arm/mve-vfma-vfms-bad.s: New test.
  2215. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2216. * config/tc-arm.c (M_MNEM_vddup, M_MNEM_vdwdup, M_MNEM_vidup,
  2217. M_MNEM_viwdup): New instruction encodings.
  2218. (NEON_SHAPE_DEF): New shapes.
  2219. (do_mve_viddup): New encoding function.
  2220. (do_neon_dup): Change to support new MVE variants.
  2221. (insns): Change existing to accept MVE variants and add new.
  2222. * testsuite/gas/arm/mve-vddup-bad.d: New test.
  2223. * testsuite/gas/arm/mve-vddup-bad.l: New test.
  2224. * testsuite/gas/arm/mve-vddup-bad.s: New test.
  2225. * testsuite/gas/arm/mve-vdup-bad.d: New test.
  2226. * testsuite/gas/arm/mve-vdup-bad.l: New test.
  2227. * testsuite/gas/arm/mve-vdup-bad.s: New test.
  2228. * testsuite/gas/arm/mve-vidup-bad.d: New test.
  2229. * testsuite/gas/arm/mve-vidup-bad.l: New test.
  2230. * testsuite/gas/arm/mve-vidup-bad.s: New test.
  2231. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2232. * config/tc-arm.c (do_mve_vfmas): New encoding function.
  2233. (do_neon_cls): Change to support MVE variants.
  2234. (do_neon_clz): Change to support MVE variants.
  2235. (insns): Change to support MVE variants and add new.
  2236. * testsuite/gas/arm/mve-vcls-bad.d: New test.
  2237. * testsuite/gas/arm/mve-vcls-bad.l: New test.
  2238. * testsuite/gas/arm/mve-vcls-bad.s: New test.
  2239. * testsuite/gas/arm/mve-vclz-bad.d: New test.
  2240. * testsuite/gas/arm/mve-vclz-bad.l: New test.
  2241. * testsuite/gas/arm/mve-vclz-bad.s: New test.
  2242. * testsuite/gas/arm/mve-vfmas-bad.d: New test.
  2243. * testsuite/gas/arm/mve-vfmas-bad.l: New test.
  2244. * testsuite/gas/arm/mve-vfmas-bad.s: New test.
  2245. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2246. * config/tc-arm.c (enum operand_parse_code): New operands.
  2247. (parse_operands): Handle new operands.
  2248. (do_mve_vcmul): New encoding function.
  2249. (do_vcmla): Change to support MVE variants.
  2250. (do_vcadd): Change to support MVE variants.
  2251. (insns): Change existing to support MVE variants and add new.
  2252. * testsuite/gas/arm/mve-vcadd-bad-1.d: New test.
  2253. * testsuite/gas/arm/mve-vcadd-bad-1.l: New test.
  2254. * testsuite/gas/arm/mve-vcadd-bad-1.s: New test.
  2255. * testsuite/gas/arm/mve-vcadd-bad-2.d: New test.
  2256. * testsuite/gas/arm/mve-vcadd-bad-2.l: New test.
  2257. * testsuite/gas/arm/mve-vcadd-bad-2.s: New test.
  2258. * testsuite/gas/arm/mve-vcmla-bad-1.d: New test.
  2259. * testsuite/gas/arm/mve-vcmla-bad-1.l: New test.
  2260. * testsuite/gas/arm/mve-vcmla-bad-1.s: New test.
  2261. * testsuite/gas/arm/mve-vcmla-bad-2.d: New test.
  2262. * testsuite/gas/arm/mve-vcmla-bad-2.l: New test.
  2263. * testsuite/gas/arm/mve-vcmla-bad-2.s: New test.
  2264. * testsuite/gas/arm/mve-vcmul-bad-1.d: New test.
  2265. * testsuite/gas/arm/mve-vcmul-bad-1.l: New test.
  2266. * testsuite/gas/arm/mve-vcmul-bad-1.s: New test.
  2267. * testsuite/gas/arm/mve-vcmul-bad-2.d: New test.
  2268. * testsuite/gas/arm/mve-vcmul-bad-2.l: New test.
  2269. * testsuite/gas/arm/mve-vcmul-bad-2.s: New test.
  2270. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2271. * config/tc-arm.c (enum operand_parse_code): New operands.
  2272. (parse_operands): Handle new operands.
  2273. (enum vfp_or_neon_is_neon_bits): Moved
  2274. (vfp_or_neon_is_neon): Moved
  2275. (check_simd_pred_availability): Moved.
  2276. (do_neon_logic): Change to accept MVE variants.
  2277. (insns): Changed to accept MVE variants.
  2278. * testsuite/gas/arm/mve-vand-bad.d: New test.
  2279. * testsuite/gas/arm/mve-vand-bad.l: New test.
  2280. * testsuite/gas/arm/mve-vand-bad.s: New test.
  2281. * testsuite/gas/arm/mve-vbic-bad.d: New test.
  2282. * testsuite/gas/arm/mve-vbic-bad.l: New test.
  2283. * testsuite/gas/arm/mve-vbic-bad.s: New test.
  2284. * testsuite/gas/arm/mve-veor-bad.d: New test.
  2285. * testsuite/gas/arm/mve-veor-bad.l: New test.
  2286. * testsuite/gas/arm/mve-veor-bad.s: New test.
  2287. * testsuite/gas/arm/mve-vorn-bad.d: New test.
  2288. * testsuite/gas/arm/mve-vorn-bad.l: New test.
  2289. * testsuite/gas/arm/mve-vorn-bad.s: New test.
  2290. * testsuite/gas/arm/mve-vorr-bad.d: New test.
  2291. * testsuite/gas/arm/mve-vorr-bad.l: New test.
  2292. * testsuite/gas/arm/mve-vorr-bad.s: New test.
  2293. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2294. * config/tc-arm.c (M_MNEM_vaddlv, M_MNEM_vaddlva, M_MNEM_vaddv,
  2295. M_MNEM_vaddva): New instruction encodings.
  2296. (mve_encode_rq): New encoding helper function.
  2297. (do_mve_vaddlv): New encoding function.
  2298. (do_mve_vaddv): New encoding function.
  2299. * testsuite/gas/arm/mve-vaddlv-bad.d: New test.
  2300. * testsuite/gas/arm/mve-vaddlv-bad.l: New test.
  2301. * testsuite/gas/arm/mve-vaddlv-bad.s: New test.
  2302. * testsuite/gas/arm/mve-vaddv-bad.d: New test.
  2303. * testsuite/gas/arm/mve-vaddv-bad.l: New test.
  2304. * testsuite/gas/arm/mve-vaddv-bad.s: New test.
  2305. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2306. * config/tc-arm.c (M_MNEM_vadc, M_MNEM_vadci, M_MNEM_vbrsr):
  2307. New instruction encodings.
  2308. (do_mve_vadc): New encoding instruction.
  2309. (do_mve_vbrsr): Likewise.
  2310. (do_mve_vsbc): Likewise.
  2311. * testsuite/gas/arm/mve-vadc-bad.d: New test.
  2312. * testsuite/gas/arm/mve-vadc-bad.l: New test.
  2313. * testsuite/gas/arm/mve-vadc-bad.s: New test.
  2314. * testsuite/gas/arm/mve-vbrsr-bad.d: New test.
  2315. * testsuite/gas/arm/mve-vbrsr-bad.l: New test.
  2316. * testsuite/gas/arm/mve-vbrsr-bad.s: New test.
  2317. * testsuite/gas/arm/mve-vsbc-bad.d: New test.
  2318. * testsuite/gas/arm/mve-vsbc-bad.l: New test.
  2319. * testsuite/gas/arm/mve-vsbc-bad.s: New test.
  2320. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2321. * config/tc-arm.c (MVE_BAD_QREG): New error message.
  2322. (enum operand_parse_code): Define new operand.
  2323. (parse_operands): Handle new operand.
  2324. (do_mve_vpt): Change for VPT blocks.
  2325. (NEON_SHAPE_DEF): New shape.
  2326. (neon_logbits): Moved.
  2327. (LOW4): Moved
  2328. (HI1): Moved
  2329. (mve_get_vcmp_vpt_cond): New function to translate vpt conditions.
  2330. (do_mve_vcmp): New encoding function.
  2331. (do_vfp_nsyn_cmp): Changed to support MVE variants.
  2332. (insns): Change to support MVE variants of vcmp and add vpt.
  2333. * testsuite/gas/arm/mve-vcmp-bad-1.d: New test.
  2334. * testsuite/gas/arm/mve-vcmp-bad-1.l: New test.
  2335. * testsuite/gas/arm/mve-vcmp-bad-1.s: New test.
  2336. * testsuite/gas/arm/mve-vcmp-bad-2.d: New test.
  2337. * testsuite/gas/arm/mve-vcmp-bad-2.l: New test.
  2338. * testsuite/gas/arm/mve-vcmp-bad-2.s: New test.
  2339. * testsuite/gas/arm/mve-vpt-bad-1.d: New test.
  2340. * testsuite/gas/arm/mve-vpt-bad-1.l: New test.
  2341. * testsuite/gas/arm/mve-vpt-bad-1.s: New test.
  2342. * testsuite/gas/arm/mve-vpt-bad-2.d: New test.
  2343. * testsuite/gas/arm/mve-vpt-bad-2.l: New test.
  2344. * testsuite/gas/arm/mve-vpt-bad-2.s: New test.
  2345. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2346. * config/tc-arm.c (struct arm_it): Expand isscalar field to be able to
  2347. distinguish between types of scalar.
  2348. (parse_typed_reg_or_scalar): Change to accept MVE scalar variants.
  2349. (parse_scalar): Likewise.
  2350. (parse_neon_mov): Accept MVE variant.
  2351. (po_scalar_or_goto): Make use reg_type.
  2352. (parse_operands): Change uses of po_scalar_or_goto.
  2353. (do_vfp_sp_monadic): Change to accept MVE variants.
  2354. (do_vfp_reg_from_sp): Likewise.
  2355. (do_vfp_sp_from_reg): Likewise.
  2356. (do_vfp_dp_rd_rm): Likewise.
  2357. (do_vfp_dp_rd_rn_rm): Likewise.
  2358. (do_vfp_dp_rm_rd_rn): Likewise.
  2359. (M_MNEM_vmovlt, M_MNEM_vmovlb, M_MNEM_vmovnt, M_MNEM_vmovnb): New
  2360. instruction encodings.
  2361. (NEON_SHAPE_DEF): New shape.
  2362. (do_mve_mov): New encoding fuction.
  2363. (do_mve_movn): Likewise.
  2364. (do_mve_movl): Likewise.
  2365. (do_neon_mov): Change to accept MVE variants.
  2366. (mcCE): New MACRO.
  2367. (insns): Accept new MVE variants and instructions.
  2368. * testsuite/gas/arm/mve-vmov-bad-1.d: New test.
  2369. * testsuite/gas/arm/mve-vmov-bad-1.l: New test.
  2370. * testsuite/gas/arm/mve-vmov-bad-1.s: New test.
  2371. * testsuite/gas/arm/mve-vmov-bad-2.d: New test.
  2372. * testsuite/gas/arm/mve-vmov-bad-2.l: New test.
  2373. * testsuite/gas/arm/mve-vmov-bad-2.s: New test.
  2374. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2375. * config/tc-arm.c (enum operand_parse_code): Add new operand.
  2376. (parse_operands): Handle new operand.
  2377. (do_neon_cvt_1): Handle MVE variants.
  2378. (do_neon_cvttb_1): Likewise.
  2379. (insns): Accept MVE variants.
  2380. * testsuite/gas/arm/mve-vcvt-bad-1.d: New test.
  2381. * testsuite/gas/arm/mve-vcvt-bad-1.l: New test.
  2382. * testsuite/gas/arm/mve-vcvt-bad-1.s: New test.
  2383. * testsuite/gas/arm/mve-vcvt-bad-2.d: New test.
  2384. * testsuite/gas/arm/mve-vcvt-bad-2.l: New test.
  2385. * testsuite/gas/arm/mve-vcvt-bad-2.s: New test.
  2386. * testsuite/gas/arm/mve-vcvt-bad-3.d: New test.
  2387. * testsuite/gas/arm/mve-vcvt-bad-3.l: New test.
  2388. * testsuite/gas/arm/mve-vcvt-bad-3.s: New test.
  2389. * testsuite/gas/arm/mve-vcvt-bad-4.d: New test.
  2390. * testsuite/gas/arm/mve-vcvt-bad-4.l: New test.
  2391. * testsuite/gas/arm/mve-vcvt-bad-4.s: New test.
  2392. * testsuite/gas/arm/mve-vcvt-bad.d: New test.
  2393. * testsuite/gas/arm/mve-vcvt-bad.l: New test.
  2394. * testsuite/gas/arm/mve-vcvt-bad.s: New test.
  2395. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2396. * config/tc-arm.c (struct arm_it): Make immisreg field larger to hold
  2397. type of register.
  2398. (enum shift_kind): Add SHIFT_UXTW shift kind.
  2399. (enum parse_shift_mode): Add SHIFT_UXTW_IMMEDIATE shift mode.
  2400. (parse_shift): Handle new shift type.
  2401. (parse_address_main): Accept new addressing modes.
  2402. (M_MNEM_vstrb, M_MNEM_vstrh, M_MNEM_vstrw, M_MNEM_vstrd,
  2403. M_MNEM_vldrb, M_MNEM_vldrh, M_MNEM_vldrw, M_MNEM_vldrd): New
  2404. instruction encodings.
  2405. (do_mve_vstr_vldr_QI): New encoding functions.
  2406. (do_mve_vstr_vldr_RQ): Likewise.
  2407. (do_mve_vstr_vldr_RI): Likewise.
  2408. (do_mve_vstr_vldr): Likewise.
  2409. * testsuite/gas/arm/mve-vldr-bad-1.d: New test.
  2410. * testsuite/gas/arm/mve-vldr-bad-1.l: New test.
  2411. * testsuite/gas/arm/mve-vldr-bad-1.s: New test.
  2412. * testsuite/gas/arm/mve-vldr-bad-2.d: New test.
  2413. * testsuite/gas/arm/mve-vldr-bad-2.l: New test.
  2414. * testsuite/gas/arm/mve-vldr-bad-2.s: New test.
  2415. * testsuite/gas/arm/mve-vldr-bad-3.d: New test.
  2416. * testsuite/gas/arm/mve-vldr-bad-3.l: New test.
  2417. * testsuite/gas/arm/mve-vldr-bad-3.s: New test.
  2418. * testsuite/gas/arm/mve-vstr-bad-1.d: New test.
  2419. * testsuite/gas/arm/mve-vstr-bad-1.l: New test.
  2420. * testsuite/gas/arm/mve-vstr-bad-1.s: New test.
  2421. * testsuite/gas/arm/mve-vstr-bad-2.d: New test.
  2422. * testsuite/gas/arm/mve-vstr-bad-2.l: New test.
  2423. * testsuite/gas/arm/mve-vstr-bad-2.s: New test.
  2424. * testsuite/gas/arm/mve-vstr-bad-3.d: New test.
  2425. * testsuite/gas/arm/mve-vstr-bad-3.l: New test.
  2426. * testsuite/gas/arm/mve-vstr-bad-3.s: New test.
  2427. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2428. * config/tc-arm.c (enum it_instruction_type): Add MVE_UNPREDICABLE_INSN.
  2429. (BAD_EL_TYPE): New error message.
  2430. (parse_neon_el_struct_list): Adapt to be able to accept MVE variant.
  2431. (parse_address_main): Likewise.
  2432. (group_reloc_type): Add GROUP_MVE.
  2433. (enum operand_parse_code): Add new operands.
  2434. (parse_operands): Handle new operands.
  2435. (M_MNEM_vst20, M_MNEM_vst21, M_MNEM_vst40, M_MNEM_vst41, M_MNEM_vst42,
  2436. M_MNEM_vst43, M_MNEM_vld20, M_MNEM_vld21, M_MNEM_vld40, M_MNEM_vld41,
  2437. M_MNEM_vld42, M_MNEM_vld43): New encodings.
  2438. (do_mve_vst_vld): New encoding function.
  2439. (do_neon_ld_st_interleave): Use BAD_EL_TYPE.
  2440. (it_fsm_pre_encode): Handle new it_instruction_type
  2441. (handle_pred_state): Likewise.
  2442. * testsuite/gas/arm/mve-vstld-bad.d: New test.
  2443. * testsuite/gas/arm/mve-vstld-bad.l: New test.
  2444. * testsuite/gas/arm/mve-vstld-bad.s: New test.
  2445. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2446. * config/tc-arm.c (BAD_MVE_AUTO): New error message.
  2447. (BAD_MVE_SRCDEST): Likewise.
  2448. (mark_feature_used): Diagnose MVE only instructions when in
  2449. auto-detection mode or -march=all.
  2450. (enum operand_parse_code): Define new operand.
  2451. (parse_operands): Handle new operand.
  2452. (M_MNEM_vmullt, M_MNEM_vmullb): New encodings.
  2453. (mve_encode_qqq): New encoding helper function.
  2454. (do_mve_vmull): New encoding function.
  2455. (insns): Handle new instructions.
  2456. * testsuite/gas/arm/mve-vmullbt-bad.d: New test.
  2457. * testsuite/gas/arm/mve-vmullbt-bad.l: New test.
  2458. * testsuite/gas/arm/mve-vmullbt-bad.s: New test.
  2459. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2460. * config/tc-arm.c (struct asm_opcode): Make avalue a full int.
  2461. (BAD_ODD, BAD_EVEN, BAD_SIMD_TYPE): New errors.
  2462. (enum operand_parse_code): Handle new operands.
  2463. (parse_operands): Likewise.
  2464. (M_MNEM_vabav, M_MNEM_vmladav, M_MNEM_vmladava, M_MNEM_vmladavx,
  2465. M_MNEM_vmladavax, M_MNEM_vmlsdav, M_MNEM_vmlsdava, M_MNEM_vmlsdavx,
  2466. M_MNEM_vmlsdavax): Define new encodings.
  2467. (NEON_SHAPE_DEF): Add new shape.
  2468. (neon_check_type): Use BAD_SIMD_TYPE.
  2469. (mve_encode_rqq): New encoding helper function.
  2470. (do_mve_vabav, do_mve_vmladav): New encoding functions.
  2471. (mCEF): New MACRO.
  2472. * testsuite/gas/arm/mve-vabav-bad.d: New test.
  2473. * testsuite/gas/arm/mve-vabav-bad.l: New test.
  2474. * testsuite/gas/arm/mve-vabav-bad.s: New test.
  2475. * testsuite/gas/arm/mve-vmladav-bad.d: New test.
  2476. * testsuite/gas/arm/mve-vmladav-bad.l: New test.
  2477. * testsuite/gas/arm/mve-vmladav-bad.s: New test.
  2478. * testsuite/gas/arm/mve-vmlav-bad.d: New test.
  2479. * testsuite/gas/arm/mve-vmlav-bad.l: New test.
  2480. * testsuite/gas/arm/mve-vmlav-bad.s: New test.
  2481. * testsuite/gas/arm/mve-vmlsdav-bad.d: New test.
  2482. * testsuite/gas/arm/mve-vmlsdav-bad.l: New test.
  2483. * testsuite/gas/arm/mve-vmlsdav-bad.s: New test.
  2484. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2485. * config/tc-arm.c (do_neon_abs_neg): Make it accept MVE variant.
  2486. (insns): Change vabs and vneg entries to accept MVE variants.
  2487. * testsuite/gas/arm/mve-vabsneg-bad-1.d: New test.
  2488. * testsuite/gas/arm/mve-vabsneg-bad-1.l: New test.
  2489. * testsuite/gas/arm/mve-vabsneg-bad-1.s: New test.
  2490. * testsuite/gas/arm/mve-vabsneg-bad-2.d: New test.
  2491. * testsuite/gas/arm/mve-vabsneg-bad-2.l: New test.
  2492. * testsuite/gas/arm/mve-vabsneg-bad-2.s: New test.
  2493. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2494. * config/tc-arm.c (enum it_instruction_type): Rename to...
  2495. (enum pred_instruction_type): ... this. Include VPT types.
  2496. (it_insn_type): Rename to ...
  2497. (pred_insn_type): .. this.
  2498. (arm_it): Change comment.
  2499. (enum arm_reg_type): Add new value.
  2500. (reg_expected_msgs): New entry.
  2501. (asm_opcode): Add mayBeVecPred member.
  2502. (BAD_SYNTAX, BAD_NOT_VPT, BAD_OUT_VPT, BAD_VPT_COND, MVE_NOT_IT,
  2503. MVE_NOT_VPT, MVE_BAD_PC, MVE_BAD_SP): New diagnostic MACROS.
  2504. (arm_vcond_hsh): New table for vector condition codes.
  2505. (now_it): Rename to ...
  2506. (now_pred): ... this.
  2507. (now_it_compatible): Rename to ...
  2508. (now_pred_compatible): ... this.
  2509. (in_it_block): Rename to ...
  2510. (in_pred_block): ... this.
  2511. (handle_it_state): Rename to ...
  2512. (handle_pred_state): ... this. And change it to accept VPT blocks.
  2513. (set_it_insn_type): Rename to ...
  2514. (set_pred_insn_type): ... this.
  2515. (set_it_insn_type_nonvoid): Rename to ...
  2516. (set_pred_insn_type_nonvoid): ... this.
  2517. (set_it_insn_type_last): Rename to ...
  2518. (set_pred_insn_type_last): ... this.
  2519. (record_feature_use): Moved.
  2520. (mark_feature_used): Likewise.
  2521. (parse_typed_reg_or_scalar): Add new case for REG_TYPE_MQ.
  2522. (emit_insn): Use renamed functions and variables.
  2523. (enum operand_parse_code): Add new operands.
  2524. (parse_operands): Handle new operands.
  2525. (do_scalar_fp16_v82_encode): Change predication detection.
  2526. (do_it): Use renamed functions and variables.
  2527. (do_t_add_sub): Likewise.
  2528. (do_t_arit3): Likewise.
  2529. (do_t_arit3c): Likewise.
  2530. (do_t_blx): Likewise.
  2531. (do_t_branch): Likewise.
  2532. (do_t_bkpt_hlt1): Likewise.
  2533. (do_t_branch23): Likewise.
  2534. (do_t_bx): Likewise.
  2535. (do_t_bxj): Likewise.
  2536. (do_t_cond): Likewise.
  2537. (do_t_csdb): Likewise.
  2538. (do_t_cps): Likewise.
  2539. (do_t_cpsi): Likewise.
  2540. (do_t_cbz): Likewise.
  2541. (do_t_it): Likewise.
  2542. (do_mve_vpt): New function to handle VPT blocks.
  2543. (encode_thumb2_multi): Use renamed functions and variables.
  2544. (do_t_ldst): Use renamed functions and variables.
  2545. (do_t_mov_cmp): Likewise.
  2546. (do_t_mvn_tst): Likewise.
  2547. (do_t_mul): Likewise.
  2548. (do_t_nop): Likewise.
  2549. (do_t_neg): Likewise.
  2550. (do_t_rsb): Likewise.
  2551. (do_t_setend): Likewise.
  2552. (do_t_shift): Likewise.
  2553. (do_t_smc): Likewise.
  2554. (do_t_tb): Likewise.
  2555. (do_t_udf): Likewise.
  2556. (do_t_loloop): Likewise.
  2557. (do_neon_cvt_1): Likewise.
  2558. (do_vfp_nsyn_cvt_fpv8): Likewise.
  2559. (do_vsel): Likewise.
  2560. (do_vmaxnm): Likewise.
  2561. (do_vrint_1): Likewise.
  2562. (do_crypto_2op_1): Likewise.
  2563. (do_crypto_3op_1): Likewise.
  2564. (do_crc32_1): Likewise.
  2565. (it_fsm_pre_encode): Likewise.
  2566. (it_fsm_post_encode): Likewise.
  2567. (force_automatic_it_block_close): Likewise.
  2568. (check_it_blocks_finished): Likewise.
  2569. (check_pred_blocks_finished): Likewise.
  2570. (arm_cleanup): Likewise.
  2571. (now_it_add_mask): Rename to ...
  2572. (now_pred_add_mask): ... this. And use new variables and functions.
  2573. (NEON_ENC_TAB): Add entries for vabdl, vaddl and vsubl.
  2574. (N_I_MVE, N_F_MVE, N_SU_MVE): New MACROs.
  2575. (neon_check_type): Generalize error message.
  2576. (mve_encode_qqr): New MVE generic encoding function.
  2577. (neon_dyadic_misc): Change to accept MVE variants.
  2578. (do_neon_dyadic_if_su): Likewise.
  2579. (do_neon_addsub_if_i): Likewise.
  2580. (do_neon_dyadic_long): Likewise.
  2581. (vfp_or_neon_is_neon): Add extra checks.
  2582. (check_simd_pred_availability): Helper function to check SIMD
  2583. instruction availability with respect to predication.
  2584. (enum opcode_tag): New suffix value.
  2585. (opcode_lookup): Change to handle VPT blocks.
  2586. (new_automatic_it_block): Rename to ...
  2587. (close_automatic_it_block): ...this.
  2588. (TxCE, TxC3, TxC3w, TUE, TUEc, TUF, CE, C3, ToC, ToU,
  2589. toC, toU, CL, cCE, cCL, C3E, xCM_, UE, UF, NUF, nUF,
  2590. NCE_tag, NCE, NCEF, nCE_tag, nCE, nCEF): Add default value for new
  2591. field.
  2592. (mCEF, mnCEF, mnCE, MNUF, mnUF, mToC, MNCE, MNCEF): New MACROs.
  2593. (insns): Redefine vadd, vsub, cabd, vabdl, vaddl, vsubl to accept MVE
  2594. variants. Add entries for vscclrm, and vpst.
  2595. (md_begin): Add arm_vcond_hsh initialization.
  2596. * config/tc-arm.h (enum it_state): Rename to...
  2597. (enum pred_state): ...this.
  2598. (struct current_it): Rename to...
  2599. (struct current_pred): ...this.
  2600. (enum pred_type): New enum.
  2601. (struct arm_segment_info_type): Use current_pred.
  2602. * testsuite/gas/arm/armv8_3-a-fp-bad.l: Update error message.
  2603. * testsuite/gas/arm/armv8_3-a-simd-bad.l: Update error message.
  2604. * testsuite/gas/arm/dotprod-illegal.l: Update error message.
  2605. * testsuite/gas/arm/mve-vaddsubabd-bad-1.d: New test.
  2606. * testsuite/gas/arm/mve-vaddsubabd-bad-1.l: New test.
  2607. * testsuite/gas/arm/mve-vaddsubabd-bad-1.s: New test.
  2608. * testsuite/gas/arm/mve-vaddsubabd-bad-2.d: New test.
  2609. * testsuite/gas/arm/mve-vaddsubabd-bad-2.l: New test.
  2610. * testsuite/gas/arm/mve-vaddsubabd-bad-2.s: New test.
  2611. * testsuite/gas/arm/mve-vpst-bad.d: New test.
  2612. * testsuite/gas/arm/mve-vpst-bad.l: New test.
  2613. * testsuite/gas/arm/mve-vpst-bad.s: New test.
  2614. * testsuite/gas/arm/neon-ldst-es-bad.l: Updated error message.
  2615. 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  2616. * config/tc-arm.c (mve_ext, mve_fp_ext): New features.
  2617. (armv8_1m_main_ext_table): Add new extensions.
  2618. (aeabi_set_public_attributes): Translate new features to new build attributes.
  2619. (arm_convert_symbolic_attribute): Add Tag_MVE_arch.
  2620. * doc/c-arm.texi: Document new extensions and new build attribute.
  2621. 2019-05-15 John Darrington <john@darrington.wattle.id.au>
  2622. * config/tc-s12z.c (register_prefix): New variable. (md_show_usage,
  2623. md_parse_option): parse the new option.
  2624. (lex_reg_name): Scan the prefix if one is set.
  2625. * doc/c-s12z.texi (S12Z-Opts): Document the new option.
  2626. * testsuite/gas/s12z/reg-prefix.d: New file.
  2627. * testsuite/gas/s12z/reg-prefix.s: New file.
  2628. * testsuite/gas/s12z/s12z.exp: Add them.
  2629. 2019-05-14 John Darrington <john@darrington.wattle.id.au>
  2630. * doc/as.texi (Machine Dependencies): Fix misaligned menu entry.
  2631. 2019-05-15 Alan Modra <amodra@gmail.com>
  2632. * config/tc-csky.c (md_convert_frag): Initialise trailing
  2633. padding for COND_JUMP_PIC.
  2634. 2019-05-15 Alan Modra <amodra@gmail.com>
  2635. * dwarf2dbg.c: Whitespace fixes.
  2636. (get_filenum): Don't strdup "file". Adjust error message.
  2637. (dwarf2_directive_filename): Use an unsigned type for "num".
  2638. Catch truncation of file number and overflow of get_filenum
  2639. XRESIZEVEC multiplication. Delete dead code.
  2640. 2019-05-15 Alan Modra <amodra@gmail.com>
  2641. PR 24538
  2642. * config/tc-tic54x.c (tic54x_start_line_hook): Do skip end of line
  2643. chars in setting endp.
  2644. 2019-05-14 Nick Clifton <nickc@redhat.com>
  2645. PR 24538
  2646. * config/tc-i386-intel.c (i386_intel_simplify_register): Reject
  2647. illegal register numbers.
  2648. 2019-05-10 Nick Clifton <nickc@redhat.com>
  2649. PR 24538
  2650. * macro.c (get_any_string): Increase size of buffer used to hold
  2651. decimal value of expression result.
  2652. * dw2gencfi.c (get_debugseg_name): Handle an empty name.
  2653. * dwarf2dbg.c (get_filenum): Catch integer wraparound when
  2654. extending allocate file array.
  2655. (dwarf2_directive_filename): Add extra checks of the computed file
  2656. number.
  2657. * config/tc-arm.c (arm_tc_equal_in_insn): Insert copy of name into
  2658. warning hash table.
  2659. (s_arm_eabi_attribute): Check for obj_elf_vendor_attribute
  2660. returning -1.
  2661. * config/tc-i386.c (i386_output_nops): Catch an attempt to
  2662. generate nops of negative lengths.
  2663. * as.h (MAX_LITTLENUMS): Move definition to here from...
  2664. * config/atof-ieee.c: ...here.
  2665. * config/tc-aarch64.c: ...here.
  2666. * config/tc-arc.c: ...here.
  2667. * config/tc-arm.c: ...here.
  2668. * config/tc-epiphany.c: ...here.
  2669. * config/tc-i386.c: ...here.
  2670. * config/tc-ia64.c: ...here. (And correct the value).
  2671. * config/tc-m32c.c: ...here.
  2672. * config/tc-m32r.c: ...here.
  2673. * config/tc-metag.c: ...here.
  2674. * config/tc-microblaze.c: ...here.
  2675. * config/tc-nds32.c: ...here.
  2676. * config/tc-or1k.c: ...here.
  2677. * config/tc-score.c: ...here.
  2678. * config/tc-score7.c: ...here.
  2679. * config/tc-tic4x.c: ...here.
  2680. * config/tc-tilegx.c: ...here.
  2681. * config/tc-tilepro.c: ...here.
  2682. * config/tc-visium.c: ...here.
  2683. * config/tc-sh.c (md_assemble): Add check for an instruction with
  2684. no opcodes.
  2685. * config/tc-mips.c (mips_lookup_insn): Add check for very short
  2686. instruction name.
  2687. * config/tc-tic54x.c: Use unsigned chars to access is_end_of_line
  2688. array.
  2689. (tic54x_start_line_hook): Check for an empty line.
  2690. (next_line_shows_parallel): Do not walk off the end of the string.
  2691. (tic54x_macro_start): Check for too much macro nesting.
  2692. (tic54x_start_label): Add label_start parameter. Use this
  2693. parameter to check the first character of the label.
  2694. * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Pass
  2695. line_start variable to tic54x_start_label.
  2696. 2019-05-10 Faraz Shahbazker <fshahbazker@wavecomp.com>
  2697. * config/tc-mips.c (macro) <M_ADD_I, M_SUB_I, M_DADD_I, M_DSUB_I>:
  2698. Add expansions for MIPS r6.
  2699. * testsuite/gas/mips/add.s: Enable tests for R6.
  2700. * testsuite/gas/mips/daddi.s: Annotate to test DADD for R6.
  2701. * testsuite/gas/mips/mipsr6@add.d: Likewise.
  2702. * gas/testsuite/gas/mips/mipsr6@dadd.d: New test.
  2703. * gas/testsuite/gas/mips/mips.exp: Run the new test.
  2704. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2705. * testsuite/gas/aarch64/sve2.d: Remove file format restriction.
  2706. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2707. * testsuite/gas/aarch64/illegal-sve2-aes.d: New test.
  2708. * testsuite/gas/aarch64/illegal-sve2-bitperm.d: New test.
  2709. * testsuite/gas/aarch64/illegal-sve2-sha3.d: Test new instructions.
  2710. * testsuite/gas/aarch64/illegal-sve2-sm4.d: Test new instructions.
  2711. * testsuite/gas/aarch64/illegal-sve2-sve1ext.d: Test new instructions.
  2712. * testsuite/gas/aarch64/illegal-sve2-sve1ext.l: Test new instructions.
  2713. * testsuite/gas/aarch64/illegal-sve2.d: Test new instructions.
  2714. * testsuite/gas/aarch64/illegal-sve2.l: Test new instructions.
  2715. * testsuite/gas/aarch64/illegal-sve2.s: Test new instructions.
  2716. * testsuite/gas/aarch64/sve1-extended-sve2.s: New test.
  2717. * testsuite/gas/aarch64/sve2.d: Test new instructions.
  2718. * testsuite/gas/aarch64/sve2.s: Test new instructions.
  2719. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2720. * config/tc-aarch64.c (parse_operands): Handle new SVE_SHLIMM_UNPRED_22
  2721. operand.
  2722. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2723. * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm4_11_INDEX
  2724. operand.
  2725. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2726. * config/tc-aarch64.c (parse_operands): Handle new SVE_SHRIMM_UNPRED_22
  2727. operand.
  2728. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2729. * config/tc-aarch64.c (REG_ZR): Macro specifying zero register.
  2730. (parse_address_main): Account for new addressing mode [Zn.S, Xm].
  2731. (parse_operands): Handle new SVE_ADDR_ZX operand.
  2732. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2733. * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm3_11_INDEX
  2734. operand.
  2735. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2736. * config/tc-aarch64.c (parse_operands): Handle new SVE_IMM_ROT3 operand.
  2737. 2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
  2738. * config/tc-aarch64.c: Add command line architecture feature flags
  2739. "sve2", "sve2-sm4", "sve2-aes", "sve2-sha3", "bitperm".
  2740. * doc/c-aarch64.texi: Document new architecture feature flags.
  2741. 2019-05-08 Alan Modra <amodra@gmail.com>
  2742. * testsuite/gas/elf/dwarf2-1.s,
  2743. * testsuite/gas/elf/dwarf2-2.s,
  2744. * testsuite/gas/elf/dwarf2-5.s,
  2745. * testsuite/gas/elf/dwarf2-7.s,
  2746. * testsuite/gas/elf/dwarf2-8.s,
  2747. * testsuite/gas/elf/dwarf2-9.s,
  2748. * testsuite/gas/elf/dwarf2-10.s,
  2749. * testsuite/gas/elf/dwarf2-11.s,
  2750. * testsuite/gas/elf/dwarf2-12.s,
  2751. * testsuite/gas/elf/dwarf2-13.s,
  2752. * testsuite/gas/elf/dwarf2-14.s,
  2753. * testsuite/gas/elf/dwarf2-15.s,
  2754. * testsuite/gas/elf/dwarf2-16.s,
  2755. * testsuite/gas/elf/dwarf2-17.s,
  2756. * testsuite/gas/elf/dwarf2-18.s,
  2757. * testsuite/gas/elf/dwarf2-19.s: Double size of align and simulated
  2758. instructions.
  2759. * testsuite/gas/elf/dwarf2-1.d,
  2760. * testsuite/gas/elf/dwarf2-2.d,
  2761. * testsuite/gas/elf/dwarf2-5.d,
  2762. * testsuite/gas/elf/dwarf2-7.d,
  2763. * testsuite/gas/elf/dwarf2-8.d,
  2764. * testsuite/gas/elf/dwarf2-9.d,
  2765. * testsuite/gas/elf/dwarf2-10.d,
  2766. * testsuite/gas/elf/dwarf2-11.d,
  2767. * testsuite/gas/elf/dwarf2-12.d,
  2768. * testsuite/gas/elf/dwarf2-13.d,
  2769. * testsuite/gas/elf/dwarf2-14.d,
  2770. * testsuite/gas/elf/dwarf2-15.d,
  2771. * testsuite/gas/elf/dwarf2-16.d,
  2772. * testsuite/gas/elf/dwarf2-17.d,
  2773. * testsuite/gas/elf/dwarf2-18.d,
  2774. * testsuite/gas/elf/dwarf2-19.d: Use xfail rather than notarget.
  2775. Remove avr, pru, tile, xtensa from xfails. Update expected output.
  2776. * testsuite/gas/elf/elf.exp: Sort targets.
  2777. (dump_opts): Pass {as -mno-relax} for riscv, {as -mno-link-relax}
  2778. for avr and pru, and {as --no-link-relax} for xtensa to dwarf tests.
  2779. * testsuite/gas/elf/section2.e-miwmmxt: Delete unused file.
  2780. 2019-05-08 Alan Modra <amodra@gmail.com>
  2781. * config/tc-xtensa.c (opt_linkrelax): New variable.
  2782. (md_parse_option): Set it here.
  2783. (md_begin): Copy opt_linkrelax to linkrelax.
  2784. 2019-05-07 Alexandre Oliva <aoliva@redhat.com>
  2785. * testsuite/gas/elf/dwarf2-18.d: Xfail mep-*.
  2786. * testsuite/gas/elf/dwarf2-19.d: Likewise.
  2787. 2019-05-07 Alan Modra <amodra@gmail.com>
  2788. * symbols.c (use_complex_relocs_for): Formatting. Factor out
  2789. X_add_symbol tests.
  2790. 2019-05-06 Andrew Bennett <andrew.bennett@imgtec.com>
  2791. Faraz Shahbazker <fshahbazker@wavecomp.com>
  2792. * config/tc-mips.c (mips_set_ase): Handle ASE_EVA_R6.
  2793. (macro) <M_LLWPE_AB, M_SCWPE_AB>: New cases.
  2794. (mips_after_parse_args): Translate EVA to EVA_R6.
  2795. * testsuite/gas/mips/ase-errors-1.s: Add new instructions.
  2796. * testsuite/gas/mips/eva.s: Likewise.
  2797. * testsuite/gas/mips/ase-errors-1.l: Check errors for
  2798. new instructions.
  2799. * testsuite/gas/mips/mipsr6@eva.d: Check new test cases.
  2800. 2019-05-06 Alan Modra <amodra@gmail.com>
  2801. * symbols.c (symbol_relc_make_sym): Do not access sym->sy_value
  2802. directly.
  2803. 2019-05-06 Alan Modra <amodra@gmail.com>
  2804. * config/tc-ppc.c (ppc_fix_adjustable): Exclude all GOT and PLT
  2805. relocs, and VLE sdarel relocs.
  2806. * testsuite/gas/ppc/power4.d: Adjust.
  2807. 2019-05-05 Alexandre Oliva <aoliva@redhat.com>
  2808. * dwarf2dbg.c (set_or_check_view): Skip heads when assigning
  2809. views of prior locs.
  2810. (dwarf2_gen_line_info_1): Skip heads.
  2811. (size_inc_line_addr, emit_inc_line_addr): Drop
  2812. DW_LNS_advance_pc for zero addr delta.
  2813. (dwarf2_finish): Assign views for heads of segments.
  2814. * testsuite/gas/elf/dwarf2-19.d: New.
  2815. * testsuite/gas/elf/dwarf2-19.s: New.
  2816. * testsuite/gas/elf/elf.exp: Test it.
  2817. 2019-05-04 Alan Modra <amodra@gmail.com>
  2818. * config/tc-m32c.c (insn_size): Delete static var.
  2819. (md_begin): Don't set it.
  2820. (m32c_md_end): Delete.
  2821. (md_assemble): Add insn_size auto var.
  2822. * config/tc-m32c.h (md_end): Don't define.
  2823. (m32c_md_end): Delete.
  2824. (NOP_OPCODE, HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): Define.
  2825. * testsuite/gas/all/align.d: Remove m32c from notarget list.
  2826. * testsuite/gas/all/incbin.d: Likewise.
  2827. * testsuite/gas/elf/dwarf2-11.d: Likewise.
  2828. * testsuite/gas/macros/semi.d: Likewise.
  2829. * testsuite/gas/all/gas.exp (do_comment): Similarly.
  2830. 2019-05-02 H.J. Lu <hongjiu.lu@intel.com>
  2831. PR gas/24485
  2832. * config/tc-i386.c (process_suffix): Issue a warning to IRET
  2833. without a suffix for .code16gcc.
  2834. * testsuite/gas/i386/jump16.s: Add tests for iretX.
  2835. * testsuite/gas/i386/jump16.d: Updated.
  2836. * testsuite/gas/i386/jump16.e: New file.
  2837. 2019-05-01 Sudakshina Das <sudi.das@arm.com>
  2838. * config/tc-aarch64.c (parse_operands): Add case for
  2839. AARCH64_OPND_TME_UIMM16.
  2840. (aarch64_features): Add "tme".
  2841. * doc/c-aarch64.texi: Document the same.
  2842. * testsuite/gas/aarch64/tme-invalid.d: New test.
  2843. * testsuite/gas/aarch64/tme-invalid.l: New test.
  2844. * testsuite/gas/aarch64/tme-invalid.s: New test.
  2845. * testsuite/gas/aarch64/tme.d: New test.
  2846. * testsuite/gas/aarch64/tme.s: New test.
  2847. 2019-04-29 John Darrington <john@darrington.wattle.id.au>
  2848. * testsuite/gas/s12z/truncated.d: New file.
  2849. * testsuite/gas/s12z/truncated.s: New file.
  2850. * testsuite/gas/s12z/s12z.exp: Add new test.
  2851. 2019-04-26 Andrew Bennett <andrew.bennett@imgtec.com>
  2852. Faraz Shahbazker <fshahbazker@wavecomp.com>
  2853. * config/tc-mips.c (macro) <M_LLWP_AB, M_LLDP_AB, M_SCWP_AB,
  2854. M_SCDP_AB>: New cases and expansions for paired instructions.
  2855. * testsuite/gas/mips/llpscp-32.s: New test source.
  2856. * testsuite/gas/mips/llpscp-64.s: Likewise.
  2857. * testsuite/gas/mips/llpscp-32.d: New test.
  2858. * testsuite/gas/mips/llpscp-64.d: Likewise.
  2859. * testsuite/gas/mips/mips.exp: Run the new tests.
  2860. * testsuite/gas/mips/r6.s: Add new instructions to test source.
  2861. * testsuite/gas/mips/r6-64.s: Likewise.
  2862. * testsuite/gas/mips/r6-64-n32.d: Check new instructions.
  2863. * testsuite/gas/mips/r6-64-n64.d: Likewise.
  2864. * testsuite/gas/mips/r6-n32.d: Likewise.
  2865. * testsuite/gas/mips/r6-n64.d: Likwwise.
  2866. * testsuite/gas/mips/r6.d: Likewise.
  2867. 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
  2868. PR gas/24485
  2869. * config/tc-i386.c (process_suffix): Don't add DATA_PREFIX_OPCODE
  2870. to IRET for .code16gcc.
  2871. * testsuite/gas/i386/jump16.s: Add IRET tests.
  2872. * testsuite/gas/i386/jump16.d: Updated.
  2873. 2019-04-25 Alexandre Oliva <aoliva@redhat.com>
  2874. Alan Modra <amodra@gmail.com>
  2875. PR gas/24444
  2876. * frags.c (frag_gtoffset_p): New.
  2877. * frags.h (frag_gtoffset_p): Declare it.
  2878. * expr.c (resolve_expression): Use it.
  2879. 2019-04-24 Alan Modra <amodra@gmail.com>
  2880. PR 24444
  2881. * symbols.c (resolve_symbol_value): When handling symbols
  2882. marked as sy_flags.resolved, return correct value for the
  2883. case of expression symbols left as an O_symbol expression.
  2884. Merge O_symbol code handling undefined and common symbols with
  2885. code handling special cases of expression symbols. Use
  2886. seg_left to test for undefined and common symbols. Don't
  2887. leave an O_symbol expression when X_add_symbol resolves to
  2888. the absolute_section. Init final_val later.
  2889. * testsuite/gas/mmix/basep-7.d: Adjust expected output.
  2890. 2019-04-24 John Darrington <john@darrington.wattle.id.au>
  2891. * testsuite/gas/s12z/bit-manip-invalid.s: Extend test for BSET
  2892. and BCLR instructions with an invalid mode.
  2893. * testsuite/gas/s12z/bit-manip-invalid.d: ditto.
  2894. 2019-04-19 Nick Clifton <nickc@redhat.com>
  2895. PR 24464
  2896. * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable
  2897. to the relaxation function.
  2898. * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum
  2899. number of iterations. Make sure that our internal iteration limit
  2900. does not exceed this external iteration limit.
  2901. 2019-04-18 Matthew Fortune <matthew.fortune@mips.com>
  2902. * config/tc-mips.c (match_non_zero_reg_operand): Update
  2903. warning message.
  2904. * testsuite/gas/mips/r6-branch-constraints.l: Likewise.
  2905. 2019-04-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  2906. * config/tc-msp430.c (msp430_make_init_symbols): Define
  2907. __crt0_run_{preinit,init,fini}_array symbols if
  2908. .{preinit,init,fini}_array sections exist.
  2909. * testsuite/gas/msp430/fini-array.d: New test.
  2910. * testsuite/gas/msp430/init-array.d: New test.
  2911. * testsuite/gas/msp430/preinit-array.d: New test.
  2912. * testsuite/gas/msp430/fini-array.s: New test source.
  2913. * testsuite/gas/msp430/init-array.s: New test source.
  2914. * testsuite/gas/msp430/preinit-array.s: New test source.
  2915. * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
  2916. 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  2917. * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
  2918. symbol when .lower.bss or .either.bss sections exist.
  2919. Define __crt0_movedata when .lower.data or .either.data sections exist.
  2920. * testsuite/gas/msp430/either-data-bss-sym.d: New test.
  2921. * testsuite/gas/msp430/low-data-bss-sym.d: New test.
  2922. * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
  2923. * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
  2924. * testsuite/gas/msp430/msp430.exp: Run new tests.
  2925. Enable large code model when running -mdata-region={upper,either}
  2926. tests.
  2927. 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  2928. * config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS,
  2929. OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops.
  2930. (md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and
  2931. OPTION_NO_UNKNOWN_INTR_NOPS by setting do_unknown_interrupt_nops
  2932. accordingly.
  2933. (md_show_usage): Likewise.
  2934. (md_shortopts): Add "mu" for OPTION_UNKNOWN_INTR_NOPS and
  2935. "mU" for OPTION_NO_UNKNOWN_INTR_NOPS.
  2936. (md_longopts): Likewise.
  2937. (warn_eint_nop): Update comment.
  2938. (warn_unsure_interrupt): Don't warn if prev_insn_is_nop or
  2939. prev_insn_is_dint or we are assembling for 430 ISA.
  2940. (msp430_operands): Only call warn_unsure_interrupt if
  2941. do_unknown_interrupt_nops == TRUE.
  2942. * testsuite/gas/msp430/nop-unknown-intr.s: New test source file.
  2943. * testsuite/gas/msp430/nop-unknown-intr-430.d: New test.
  2944. * testsuite/gas/msp430/nop-unknown-intr-430x.d: New test.
  2945. * testsuite/gas/msp430/nop-unknown-intr-430x-ignore.d: New test.
  2946. * testsuite/gas/msp430/nop-unknown-intr-430.l: Warning output for new
  2947. test.
  2948. * testsuite/gas/msp430/nop-unknown-intr-430x.l: Likewise.
  2949. * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
  2950. 2019-04-16 Alan Modra <amodra@gmail.com>
  2951. * testsuite/gas/all/weakref1.d: xfail nds32.
  2952. 2019-04-16 Alan Modra <amodra@gmail.com>
  2953. * testsuite/gas/all/gas.exp: Remove ns32k xfails.
  2954. * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
  2955. 2019-04-16 Alan Modra <amodra@gmail.com>
  2956. * write.h: Don't include bit_fix.h.
  2957. (struct fix): Rearrange some fields. Delete fx_im_disp and
  2958. fx_bit_fixP. Use bitfields for fx_size and fx_pcrel_adjust.
  2959. * write.c (fix_new_internal): Don't init fx_im_disp and fx_bit_fixP.
  2960. (fixup_segment): Don't exclude overflow checks on fx_bit_fixP.
  2961. (print_fixup): Don't print im_disp.
  2962. * config/tc-cris.c (md_apply_fix): Remove tests of fx_bit_fixP
  2963. and fx_im_disp.
  2964. * config/tc-dlx.c (md_apply_fix): Remove wrong debug code. Set
  2965. fx_no_overflow when fx_bit_fixP.
  2966. * config/tc-dlx.h: Include bit_fix.h.
  2967. (TC_FIX_TYPE, tc_fix_data, TC_INIT_FIX_DATA): Define.
  2968. * config/tc-ns32k.c (fix_new_ns32k, fix_new_ns32k_exp): Set
  2969. fx_no_overflow when bit_fixP.
  2970. * config/tc-ns32k.h (TC_FIX_TYPE): Add fx_bit_fixP and fx_im_disp.
  2971. (fix_im_disp, fix_bit_fixP): Adjust to suit.
  2972. (TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
  2973. 2019-04-16 Alan Modra <amodra@gmail.com>
  2974. * write.h (struct fix <fx_where>): Make unsigned.
  2975. (fix_new, fix_at_start, fix_new_exp): Adjust prototypes.
  2976. * write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and
  2977. "size" parameters unsigned long.
  2978. (fix_new_internal): Likewise. Adjust error format string to suit.
  2979. * config/tc-mips.c (md_convert_frag): Remove cast of fx_where.
  2980. * config/tc-sparc.c (md_apply_fix): Likewise.
  2981. * config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where.
  2982. * config/tc-score7.c (s7_convert_frag): Likewise.
  2983. 2019-04-16 Alan Modra <amodra@gmail.com>
  2984. * frags.h (struct frag <fr_fix>): Use unsigned type.
  2985. * frags.c (frag_new): Assert that current size exceeds
  2986. old_frags_var_max_size.
  2987. * ehopt.c (get_cie_info): Adjust for unsigned fr_fix.
  2988. * listing.c (calc_hex): Likewise.
  2989. * write.c (cvt_frag_to_fill, write_relocs): Likewise.
  2990. * config/tc-arc.c (md_convert_frag): Likewise.
  2991. * config/tc-avr.c (avr_patch_gccisr_frag): Likewise.
  2992. * config/tc-mips.c (md_convert_frag): Likewise.
  2993. * config/tc-rl78.c (md_convert_frag): Likewise.
  2994. * config/tc-rx.c (md_convert_frag): Likewise.
  2995. * config/tc-sparc.c (md_apply_fix): Likewise.
  2996. * config/tc-xtensa.c (next_instrs_are_b_retw): Likewise.
  2997. (unrelaxed_frag_min_insn_count, unrelaxed_frag_has_b_j): Likewise.
  2998. 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
  2999. * config/tc-arm.c (parse_sys_vldr_vstr): New function.
  3000. (OP_VLDR): New enum operand_parse_code enumerator.
  3001. (parse_operands): Add logic for OP_VLDR.
  3002. (do_t_vldr_vstr_sysreg): New function.
  3003. (do_vldr_vstr): Likewise.
  3004. (insns): Guard VLDR and VSTR by arm_ext_v4t for Thumb mode.
  3005. (md_apply_fix): Add bound check for VLDR and VSTR co-processor offset.
  3006. Add masking logic for BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM relocation.
  3007. * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add examples of bad
  3008. uses of VLDR and VSTR.
  3009. * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error messages for
  3010. above bad uses.
  3011. * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add examples of VLDR and
  3012. VSTR valid uses.
  3013. * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add disassembly for the
  3014. above examples.
  3015. 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
  3016. * config/tc-arm.c (arm_typed_reg_parse): Fix typo in comment.
  3017. (enum reg_list_els): New REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
  3018. enumerators.
  3019. (parse_vfp_reg_list): Add new partial_match parameter. Set
  3020. *partial_match to TRUE if at least one element in the register list has
  3021. matched. Add support for REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
  3022. register lists which expect VPR as last element in the list.
  3023. (s_arm_unwind_save_vfp_armv6): Adapt call to parse_vfp_reg_list to new
  3024. prototype.
  3025. (s_arm_unwind_save_vfp): Likewise.
  3026. (enum operand_parse_code): New OP_VRSDVLST enumerator.
  3027. (parse_operands): Adapt call to parse_vfp_reg_list to new prototype.
  3028. Handle new OP_VRSDVLST case.
  3029. (do_t_vscclrm): New function.
  3030. (insns): New entry for VSCCLRM instruction.
  3031. * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add invalid VSCCLRM
  3032. instructions.
  3033. * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error expectations
  3034. for above instructions.
  3035. * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add tests for VSCCLRM
  3036. instruction.
  3037. * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add expected disassembly
  3038. for above instructions.
  3039. 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
  3040. * config/tc-arm.c (enum reg_list_els): Define earlier and add
  3041. REGLIST_RN and REGLIST_CLRM enumerators.
  3042. (parse_reg_list): Add etype parameter to distinguish between regular
  3043. core register list and CLRM register list. Add logic to
  3044. recognize CLRM register list.
  3045. (parse_vfp_reg_list): Assert type is not for core register list.
  3046. (s_arm_unwind_save_core): Update call to parse_reg_list to new
  3047. prototype.
  3048. (enum operand_parse_code): Declare OP_CLRMLST enumerator.
  3049. (parse_operands): Update call to parse_reg_list to new prototype. Add
  3050. logic for OP_CLRMLST.
  3051. (encode_thumb2_ldmstm): Rename into ...
  3052. (encode_thumb2_multi): This. Add do_io parameter. Add logic to
  3053. encode CLRM and guard LDM/STM only code by do_io.
  3054. (do_t_ldmstm): Adapt to use encode_thumb2_multi.
  3055. (do_t_push_pop): Likewise.
  3056. (do_t_clrm): New function.
  3057. (insns): Define CLRM.
  3058. * testsuite/gas/arm/archv8m_1m-cmse-main-bad.d: New file.
  3059. * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Likewise.
  3060. * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Likewise.
  3061. * testsuite/gas/arm/archv8m_1m-cmse-main.d: Likewise.
  3062. * testsuite/gas/arm/archv8m_1m-cmse-main.s: Likewise.
  3063. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3064. Andre Vieira <andre.simoesdiasvieira@arm.com>
  3065. * config/tc-arm.c (operand_parse_code): Add OP_LR and OP_oLR
  3066. for the LR operand and optional LR operand.
  3067. (parse_operands): Add switch cases for OP_LR and OP_oLR for
  3068. both type checking and value checking.
  3069. (encode_thumb32_addr_mode): New entries for DLS, WLS and LE.
  3070. (v8_1_loop_reloc): New helper function for handling labels
  3071. for the low overhead loop instructions.
  3072. (do_t_loloop): New function to encode DLS, WLS and LE.
  3073. (insns): New entries for WLS, DLS and LE.
  3074. (md_pcrel_from_section): New switch case
  3075. for BFD_RELOC_ARM_THUMB_LOOP12.
  3076. (md_appdy_fix): Likewise.
  3077. (tc_gen_reloc): Likewise.
  3078. * testsuite/gas/arm/armv8_1-m-tloop.s: New.
  3079. * testsuite/gas/arm/armv8_1-m-tloop.d: New.
  3080. * testsuite/gas/arm/armv8_1-m-tloop-bad.s: New.
  3081. * testsuite/gas/arm/armv8_1-m-tloop-bad.d: New.
  3082. * testsuite/gas/arm/armv8_1-m-tloop-bad.l: New.
  3083. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3084. Andre Vieira <andre.simoesdiasvieira@arm.com>
  3085. * config/tc-arm.c (T16_32_TAB): New entriy for bfcsel.
  3086. (do_t_v8_1_branch): New switch case for bfcsel.
  3087. (toU): Define.
  3088. (insns): New instruction for bfcsel.
  3089. (md_pcrel_from_section): New switch case
  3090. for BFD_RELOC_THUMB_PCREL_BFCSEL.
  3091. (md_appdy_fix): Likewise
  3092. (tc_gen_reloc): Likewise.
  3093. * testsuite/gas/arm/armv8_1-m-bfcsel.d: New.
  3094. * testsuite/gas/arm/armv8_1-m-bfcsel.s: New.
  3095. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3096. * config/tc-arm.c (md_pcrel_from_section): New switch case for
  3097. BFD_RELOC_ARM_THUMB_BF13.
  3098. (md_appdy_fix): Likewise.
  3099. (tc_gen_reloc): Likewise.
  3100. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3101. Andre Vieira <andre.simoesdiasvieira@arm.com>
  3102. * config/tc-arm.c (T16_32_TAB): New entrie for bfl.
  3103. (do_t_v8_1_branch): New switch case for bfl.
  3104. (insns): New instruction for bfl.
  3105. * testsuite/gas/arm/armv8_1-m-bfl.d: New.
  3106. * testsuite/gas/arm/armv8_1-m-bfl.s: New.
  3107. * testsuite/gas/arm/armv8_1-m-bfl-bad.s: New.
  3108. * testsuite/gas/arm/armv8_1-m-bfl-bad.d: New.
  3109. * testsuite/gas/arm/armv8_1-m-bfl-bad.l: New.
  3110. * testsuite/gas/arm/armv8_1-m-bfl-rel.d: New.
  3111. * testsuite/gas/arm/armv8_1-m-bfl-rel.s: New.
  3112. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3113. * config/tc-arm.c (md_pcrel_from_section): New switch case for
  3114. BFD_RELOC_ARM_THUMB_BF19.
  3115. (md_appdy_fix): Likewise.
  3116. (tc_gen_reloc): Likewise.
  3117. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3118. * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
  3119. (do_t_v8_1_branch): New switch cases for bfx and bflx.
  3120. (insns): New instruction for bfx and bflx.
  3121. * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
  3122. * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
  3123. * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
  3124. * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
  3125. * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New
  3126. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3127. Andre Vieira <andre.simoesdiasvieira@arm.com>
  3128. * config/tc-arm.c (T16_32_TAB): New entries for bf.
  3129. (do_t_branch_future): New.
  3130. (insns): New instruction for bf.
  3131. * testsuite/gas/arm/armv8_1-m-bf.d: New.
  3132. * testsuite/gas/arm/armv8_1-m-bf.s: New.
  3133. * testsuite/gas/arm/armv8_1-m-bf-bad.s: New.
  3134. * testsuite/gas/arm/armv8_1-m-bf-bad.l: New.
  3135. * testsuite/gas/arm/armv8_1-m-bf-bad.d: New.
  3136. * testsuite/gas/arm/armv8_1-m-bf-rel.d: New.
  3137. * testsuite/gas/arm/armv8_1-m-bf-rel.s: New.
  3138. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3139. * config/tc-arm.c (md_pcrel_from_section): New switch case for
  3140. BFD_RELOC_ARM_THUMB_BF17.
  3141. (md_appdy_fix): Likewise.
  3142. (tc_gen_reloc): Likewise.
  3143. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3144. * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
  3145. (arm_it): Member reloc renamed relocs and updated to an array.
  3146. Rest: Replace all occurrences of reloc to relocs[0].
  3147. 2019-04-15 Sudakshina Das <sudi.das@arm.com>
  3148. * config/tc-arm.c (md_pcrel_from_section): New switch case
  3149. for BFD_RELOC_THUMB_PCREL_BRANCH5.
  3150. (v8_1_branch_value_check): New function to check branch
  3151. offsets.
  3152. (md_appdy_fix): New switch case for
  3153. BFD_RELOC_THUMB_PCREL_BRANCH5.
  3154. (tc_gen_reloc): Likewise.
  3155. 2019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
  3156. * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
  3157. (armv8_1m_main_ext_table): New extension table.
  3158. (arm_archs): Use the new extension table.
  3159. * doc/c-arm.texi: Add missing arch and document new extensions.
  3160. * testsuite/gas/arm/armv8.1-m.main-fp.d: New.
  3161. * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
  3162. * testsuite/gas/arm/armv8.1-m.main-hp.d: New.
  3163. 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
  3164. * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline
  3165. Tag_CPU_arch build attribute value. Reindent.
  3166. (get_aeabi_cpu_arch_from_fset): Update assert.
  3167. (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic.
  3168. * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test.
  3169. 2019-04-09 Matthew Fortune <matthew.fortune@mips.com>
  3170. * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update
  3171. default ASEs for i6400.
  3172. * doc/c-mips.texi (-march): Document i6500.
  3173. * testsuite/gas/mips/elf_mach_i6400.d: New test.
  3174. * testsuite/gas/mips/elf_mach_i6500.d: New test.
  3175. * testsuite/gas/mips/mips.exp: Run the new tests.
  3176. 2019-04-09 Matthew Fortune <matthew.fortune@mips.com>
  3177. * config/tc-mips.c (mips_set_options) <init_ase>: New field.
  3178. (file_mips_opts, mips_opts) <init_ase>: Initialize new field.
  3179. (file_mips_check_options): Propagate initial ASE settings.
  3180. (mips_after_parse_args, parse_code_option): Track the initial
  3181. ASE settings for a CPU.
  3182. (s_mipsset): Restore the initial ASE settings when reverting
  3183. to the default arch.
  3184. * testsuite/gas/mips/elf_mach_p6600.d: New test.
  3185. * testsuite/gas/mips/mips.exp: Run the new test.
  3186. 2019-04-12 John Darrington <john@darrington.wattle.id.au>
  3187. config/tc-s12z.h: Remove definition of macro TC_M68K
  3188. 2019-04-01 John Darrington <john@darrington.wattle.id.au>
  3189. config/tc-s12z.c: Use bfd_boolean where appropriate.
  3190. 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
  3191. * testsuite/gas/xtensa/loop-relax-2.d: New test definition.
  3192. * testsuite/gas/xtensa/loop-relax.d: New test definition.
  3193. * testsuite/gas/xtensa/loop-relax.s: New test source.
  3194. * testsuite/gas/xtensa/text-section-literals-1a.d: New test
  3195. definition.
  3196. * testsuite/gas/xtensa/text-section-literals-2.d: New test
  3197. definition.
  3198. * testsuite/gas/xtensa/text-section-literals-2.s: New test
  3199. source.
  3200. * testsuite/gas/xtensa/text-section-literals-2a.d: New test
  3201. definition.
  3202. * testsuite/gas/xtensa/text-section-literals-3.d: New test
  3203. definition.
  3204. * testsuite/gas/xtensa/text-section-literals-3.s: New test
  3205. source.
  3206. * testsuite/gas/xtensa/text-section-literals-4.d: New test
  3207. definition.
  3208. * testsuite/gas/xtensa/text-section-literals-4.s: New test
  3209. source.
  3210. * testsuite/gas/xtensa/text-section-literals-4a.d: New test
  3211. definition.
  3212. 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
  3213. * testsuite/gas/xtensa/all.exp: Remove all expect-based
  3214. tests and all explicit run_dump_test / run_list_test
  3215. invocations. Add run_dump_tests for all .d files in the
  3216. test subdirectory.
  3217. * testsuite/gas/xtensa/entry_align.d: New test definition.
  3218. * testsuite/gas/xtensa/entry_align.l: New test output.
  3219. * testsuite/gas/xtensa/entry_misalign.d: New test definition.
  3220. * testsuite/gas/xtensa/entry_misalign2.d: New test definition.
  3221. * testsuite/gas/xtensa/j_too_far.d: New test definition.
  3222. * testsuite/gas/xtensa/j_too_far.l: New test output.
  3223. * testsuite/gas/xtensa/loop_align.d: New test definition.
  3224. * testsuite/gas/xtensa/loop_misalign.d: New test definition.
  3225. * testsuite/gas/xtensa/trampoline-2.d: New test definition.
  3226. * testsuite/gas/xtensa/trampoline-2.l: Remove empty output.
  3227. * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic.
  3228. 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
  3229. * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has
  3230. no effect.
  3231. (get_literal_pool_location): Only search for the literal pool
  3232. when auto litpools is used, otherwise take one recorded in the
  3233. tc_segment_info_data.
  3234. (xtensa_assign_litpool_addresses): New function.
  3235. (xtensa_move_literals): Don't duplicate 'literal pool location
  3236. required...' error message. Call xtensa_assign_litpool_addresses.
  3237. 2019-04-11 Max Filippov <jcmvbkbc@gmail.com>
  3238. * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
  3239. (xtensa_mark_literal_pool_location): Don't add fill frag to literal
  3240. section that records literal pool location.
  3241. (md_begin): Call xtensa_mark_literal_pool_location when text
  3242. section literals or auto litpools are used.
  3243. (xtensa_elf_section_change_hook): Call
  3244. xtensa_mark_literal_pool_location when text section literals or
  3245. auto litpools are used, there's no literal pool location defined
  3246. for the current section and it's not .init or .fini.
  3247. * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
  3248. * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
  3249. * testsuite/gas/xtensa/auto-litpools.d: Likewise.
  3250. 2019-04-11 Sudakshina Das <sudi.das@arm.com>
  3251. * config/tc-aarch64.c (process_omitted_operand): Add case for
  3252. AARCH64_OPND_Rt_SP.
  3253. (parse_operands): Likewise.
  3254. * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests.
  3255. * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
  3256. * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
  3257. * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
  3258. 2019-04-11 Sudakshina Das <sudi.das@arm.com>
  3259. * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm.
  3260. * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
  3261. * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
  3262. * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
  3263. 2019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  3264. * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE.
  3265. * testsuite/gas/i386/solaris/solaris.exp: New driver.
  3266. * testsuite/gas/i386/solaris/reloc64.d,
  3267. testsuite/gas/i386/solaris/x86-64-jump.d,
  3268. testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
  3269. testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d,
  3270. testsuite/gas/i386/solaris/x86-64-nop-3.d,
  3271. testsuite/gas/i386/solaris/x86-64-nop-4.d,
  3272. testsuite/gas/i386/solaris/x86-64-nop-5.d,
  3273. testsuite/gas/i386/solaris/x86-64-relax-2.d,
  3274. testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests.
  3275. * testsuite/gas/i386/reloc64.d,
  3276. testsuite/gas/i386/x86-64-jump.d,
  3277. testsuite/gas/i386/x86-64-mpx-branch-1.d,
  3278. testsuite/gas/i386/x86-64-mpx-branch-2.d,
  3279. testsuite/gas/i386/x86-64-nop-3.d,
  3280. testsuite/gas/i386/x86-64-nop-4.d,
  3281. testsuite/gas/i386/x86-64-nop-5.d,
  3282. testsuite/gas/i386/x86-64-relax-2.d,
  3283. testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*.
  3284. 2019-04-10 Alan Modra <amodra@gmail.com>
  3285. * config/te-cloudabi.h: New file.
  3286. * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI
  3287. rather than TARGET_OS to select cloudabi.
  3288. * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI.
  3289. * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
  3290. 2019-04-09 Robert Suchanek <robert.suchanek@mips.com>
  3291. * testsuite/gas/mips/mips.exp: Run hwr-names test.
  3292. * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with
  3293. the SEL field.
  3294. * testsuite/gas/mips/mipsr6@hwr-names.d: New file.
  3295. 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
  3296. * config/tc-i386.c (output_insn): Support
  3297. GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
  3298. * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
  3299. * testsuite/gas/i386/property-2.d: Updated.
  3300. * testsuite/gas/i386/x86-64-property-2.d: Likewise.
  3301. 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
  3302. * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets.
  3303. * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos*
  3304. check.
  3305. 2019-04-05 H.J. Lu <hongjiu.lu@intel.com>
  3306. * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests.
  3307. * testsuite/gas/i386/property-2.d: New file.
  3308. * testsuite/gas/i386/property-2.s: Likewise.
  3309. * testsuite/gas/i386/x86-64-property-2.d: Likewise.
  3310. 2019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
  3311. * config/tc-i386.c (cpu_arch): Add .avx512_bf16.
  3312. (cpu_noarch): Add noavx512_bf16.
  3313. * doc/c-i386.texi: Document avx512_bf16.
  3314. * testsuite/gas/i386/avx512_bf16.d: New file.
  3315. * testsuite/gas/i386/avx512_bf16.s: Likewise.
  3316. * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise.
  3317. * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise.
  3318. * testsuite/gas/i386/avx512_bf16_vl.d: Likewise.
  3319. * testsuite/gas/i386/avx512_bf16_vl.s: Likewise.
  3320. * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise.
  3321. * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise.
  3322. * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie.
  3323. * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise.
  3324. * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise.
  3325. * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise.
  3326. * testsuite/gas/i386/i386.exp: Add BF16 related tests.
  3327. 2019-04-05 Alan Modra <amodra@gmail.com>
  3328. * testsuite/gas/ppc/bc.s,
  3329. * testsuite/gas/ppc/bcat.d,
  3330. * testsuite/gas/ppc/bcaterr.d,
  3331. * testsuite/gas/ppc/bcaterr.l,
  3332. * testsuite/gas/ppc/bcy.d,
  3333. * testsuite/gas/ppc/bcyerr.d,
  3334. * testsuite/gas/ppc/bcyerr.l: New tests.
  3335. * testsuite/gas/ppc/ppc.exp: Run them.
  3336. 2019-04-05 Alan Modra <amodra@gmail.com>
  3337. * testsuite/gas/ppc/476.d: Remove trailing spaces.
  3338. * testsuite/gas/ppc/a2.d: Likewise.
  3339. * testsuite/gas/ppc/booke.d: Likewise.
  3340. * testsuite/gas/ppc/booke_xcoff.d: Likewise.
  3341. * testsuite/gas/ppc/e500.d: Likewise.
  3342. * testsuite/gas/ppc/e500mc.d: Likewise.
  3343. * testsuite/gas/ppc/e6500.d: Likewise.
  3344. * testsuite/gas/ppc/htm.d: Likewise.
  3345. * testsuite/gas/ppc/power6.d: Likewise.
  3346. * testsuite/gas/ppc/power8.d: Likewise.
  3347. * testsuite/gas/ppc/power9.d: Likewise.
  3348. * testsuite/gas/ppc/vle.d: Likewise.
  3349. 2019-04-04 Peter Bergner <bergner@linux.ibm.com>
  3350. PR gas/24349
  3351. * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl,
  3352. btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-,
  3353. bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl,
  3354. bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar,
  3355. bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-,
  3356. bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-,
  3357. bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+,
  3358. bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+,
  3359. bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar,
  3360. beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
  3361. bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
  3362. buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
  3363. bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
  3364. bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
  3365. bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
  3366. bttarl+): Add tests of extended mnemonics.
  3367. * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests
  3368. to expect new extended mnemonics.
  3369. * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test
  3370. to not use illegal BO value. Use a more convenient BI value.
  3371. * testsuite/gas/ppc/a2.d: Update tests for new expect output.
  3372. 2019-04-03 Max Filippov <jcmvbkbc@gmail.com>
  3373. * config/tc-xtensa.c (convert_frag_immed): Drop
  3374. convert_frag_immed_finish_loop invocation.
  3375. (convert_frag_immed_finish_loop): Drop declaration and
  3376. definition.
  3377. * config/xtensa-relax.c (widen_spec_list): Replace loop
  3378. widening that uses addi/addmi with widening that uses l32r
  3379. and const16.
  3380. 2019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
  3381. * config/tc-arm.c (arm_ext_table): New struct type.
  3382. (arm_arch_option_table): Add new 'arm_ext_table' field.
  3383. (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros.
  3384. (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table,
  3385. armv7r_ext_table, armv7em_ext_table, armv8a_ext_table,
  3386. armv81a_ext_table, armv82a_ext_table, armv84a_ext_table,
  3387. armv85a_ext_table, armv8m_main_ext_table,
  3388. armv8r_ext_table): New architecture extension tables.
  3389. (ARM_ARCH_OPT): Add new default field.
  3390. (ARM_ARCH_OPT2): New macro.
  3391. (arm_archs): Extend some architectures with the new architecture
  3392. extension tables mentioned above.
  3393. (arm_extensions): Add DEPRECATED comment with instructions to
  3394. use new table.
  3395. (arm_parse_extension): Change to use new extension tables.
  3396. (arm_parse_cpu): Don't change existing behavior.
  3397. (arm_parse_arch): Change to use new extension tables.
  3398. * doc/c-arm.texi: Document new architecture extensions.
  3399. * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new
  3400. extension option rather than -mfpu and change expected behaviour to
  3401. sane outputs.
  3402. * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New.
  3403. * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New.
  3404. * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New.
  3405. * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New.
  3406. * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New.
  3407. * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New.
  3408. * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New.
  3409. * testsuite/gas/arm/armv8_2+rdma-ext.d: New.
  3410. * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New.
  3411. * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New.
  3412. * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New.
  3413. * testsuite/gas/arm/armv8_3-a-fp-ext.d: New.
  3414. * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New.
  3415. * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New.
  3416. * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New.
  3417. * testsuite/gas/arm/armv8m.main+fp.d: New.
  3418. * testsuite/gas/arm/armv8m.main+fp.dp.d: New.
  3419. * testsuite/gas/arm/attr-ext-fpv5-d16.d: New.
  3420. * testsuite/gas/arm/attr-ext-fpv5.d: New.
  3421. * testsuite/gas/arm/attr-ext-idiv.d: New.
  3422. * testsuite/gas/arm/attr-ext-mp.d: New.
  3423. * testsuite/gas/arm/attr-ext-neon-fp16.d: New.
  3424. * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New.
  3425. * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New.
  3426. * testsuite/gas/arm/attr-ext-sec.d: New.
  3427. * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New.
  3428. * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New.
  3429. * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New.
  3430. * testsuite/gas/arm/attr-ext-vfpv3.d: New.
  3431. * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New.
  3432. * testsuite/gas/arm/attr-ext-vfpv3xd.d: New.
  3433. * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New.
  3434. * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New.
  3435. * testsuite/gas/arm/attr-ext-vfpv4.d: New.
  3436. * testsuite/gas/arm/dotprod-mandatory-ext.d: New.
  3437. * testsuite/gas/arm/fpv5-d16.s: New.
  3438. * testsuite/gas/arm/fpv5-sp-d16.s: New.
  3439. 2019-03-28 Alan Modra <amodra@gmail.com>
  3440. PR 24390
  3441. * testsuite/gas/ppc/476.d: Update mtfsb*.
  3442. * testsuite/gas/ppc/a2.d: Likewise.
  3443. 2019-03-21 Alan Modra <amodra@gmail.com>
  3444. * emul.h (struct emulation): Delete strip_underscore.
  3445. * emul-target.h (emul_strip_underscore): Don't define.
  3446. (emul_struct_name): Update initialization.
  3447. 2019-03-21 Alan Modra <amodra@gmail.com>
  3448. * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
  3449. * config/tc-pdp11.c (md_apply_fix): Likewise.
  3450. * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
  3451. BFD_RELOC_16, and BFD_RELOC_64.
  3452. * testsuite/gas/all/gas.exp: Move target exclusions for forward
  3453. test, but not cr16, to..
  3454. * testsuite/gas/all/forward.d: ..here, with explanation. Remove
  3455. d10v, d30v, and pdp11 xfails.
  3456. 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
  3457. * config/tc-i386.c (optimize_encoding): Don't check AVX for
  3458. EVEX vector load/store optimization. Check both operands for
  3459. ZMM register. Update EVEX vector load/store opcode check.
  3460. Choose EVEX Disp8 over VEX Disp32.
  3461. * testsuite/gas/i386/optimize-1.d: Updated.
  3462. * testsuite/gas/i386/optimize-1a.d: Likewise.
  3463. * testsuite/gas/i386/optimize-2.d: Likewise.
  3464. * testsuite/gas/i386/optimize-4.d: Likewise.
  3465. * testsuite/gas/i386/optimize-5.d: Likewise.
  3466. * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
  3467. * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
  3468. * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
  3469. * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
  3470. * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
  3471. * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
  3472. * testsuite/gas/i386/optimize-1.s: Add ZMM register load
  3473. test.
  3474. * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
  3475. 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
  3476. PR gas/24352
  3477. * config/tc-i386.c (optimize_encoding): Check only
  3478. cpu_arch_flags.bitfield.cpuavx512vl.
  3479. * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
  3480. * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
  3481. change.
  3482. * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
  3483. * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
  3484. 2019-03-19 H.J. Lu <hongjiu.lu@intel.com>
  3485. PR gas/24359
  3486. * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
  3487. x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
  3488. Remove optimize-6c and x86-64-optimize-7c tests.
  3489. * testsuite/gas/i386/noavx-3.l: Updated.
  3490. * testsuite/gas/i386/noavx-4.d: Likewise.
  3491. * testsuite/gas/i386/noavx-5.d: Likewise.
  3492. * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
  3493. * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
  3494. * testsuite/gas/i386/nosse-5.s: Likewise.
  3495. * testsuite/gas/i386/optimize-6a.d: Removed.
  3496. * testsuite/gas/i386/optimize-6c.d: Likewise.
  3497. * testsuite/gas/i386/optimize-7.d: Likewise.
  3498. * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
  3499. * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
  3500. * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
  3501. * testsuite/gas/i386/optimize-6a.l: New file.
  3502. * testsuite/gas/i386/optimize-6a.s: Likewise.
  3503. * testsuite/gas/i386/optimize-7.l: Likewise.
  3504. * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
  3505. * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
  3506. * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
  3507. 2019-03-18 Alan Modra <amodra@gmail.com>
  3508. * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
  3509. * as.c (macro_expr): Likewise.
  3510. * macro.c (buffer_and_nest): Likewise.
  3511. * read.c (temp_ilp): Remove FIXME.
  3512. 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
  3513. * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
  3514. * testsuite/gas/i386/avx512bw-intel.d: Likewise.
  3515. * testsuite/gas/i386/avx512bw.d: Likewise.
  3516. * testsuite/gas/i386/avx512f-intel.d: Likewise.
  3517. * testsuite/gas/i386/avx512f.d: Likewise.
  3518. * testsuite/gas/i386/disp32.d: Likewise.
  3519. * testsuite/gas/i386/intel-regs.d: Likewise.
  3520. * testsuite/gas/i386/pseudos.d: Likewise.
  3521. * testsuite/gas/i386/x86-64-disp32.d: Likewise.
  3522. * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
  3523. 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
  3524. PR gas/24348
  3525. * config/tc-i386.c (optimize_encoding): Encode 128-bit and
  3526. 256-bit EVEX vector register load/store instructions as VEX
  3527. vector register load/store instructions for -O1.
  3528. * doc/c-i386.texi: Update -O1 documentation.
  3529. * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
  3530. * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
  3531. load/store instructions.
  3532. * testsuite/gas/i386/optimize-2.s: Likewise.
  3533. * testsuite/gas/i386/optimize-3.s: Likewise.
  3534. * testsuite/gas/i386/optimize-5.s: Likewise.
  3535. * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
  3536. * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
  3537. * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
  3538. * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
  3539. * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
  3540. * testsuite/gas/i386/optimize-1.d: Updated.
  3541. * testsuite/gas/i386/optimize-2.d: Likewise.
  3542. * testsuite/gas/i386/optimize-3.d: Likewise.
  3543. * testsuite/gas/i386/optimize-4.d: Likewise.
  3544. * testsuite/gas/i386/optimize-5.d: Likewise.
  3545. * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
  3546. * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
  3547. * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
  3548. * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
  3549. * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
  3550. * testsuite/gas/i386/optimize-7.d: New file.
  3551. * testsuite/gas/i386/optimize-7.s: Likewise.
  3552. * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
  3553. * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
  3554. 2019-03-18 H.J. Lu <hongjiu.lu@intel.com>
  3555. * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
  3556. VEX/EVEX vector register clearing instructions with 128-bit VEX
  3557. vector register clearing instructions at -O1.
  3558. * doc/c-i386.texi: Update -O1 and -O2 documentation.
  3559. * testsuite/gas/i386/i386.exp: Run optimize-1a and
  3560. x86-64-optimize-2a.
  3561. * testsuite/gas/i386/optimize-1a.d: New file.
  3562. * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
  3563. 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
  3564. PR gas/24353
  3565. * config/tc-i386.c: Include <limits.h> if it exists and try
  3566. including <sys/param.h> if we have it.
  3567. (INT_MAX): Define if not defined.
  3568. (md_parse_option): Set optimize to INT_MAX for -Os.
  3569. * testsuite/gas/i386/optimize-2.s: Add a test.
  3570. * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
  3571. * testsuite/gas/i386/optimize-2.d: Updated.
  3572. * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
  3573. 2019-03-17 H.J. Lu <hongjiu.lu@intel.com>
  3574. PR gas/24352
  3575. * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
  3576. with 128-bit VEX encoding only when AVX is enabled and with
  3577. 128-bit EVEX encoding only when AVX512VL is enabled.
  3578. * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
  3579. * testsuite/gas/i386/optimize-6.s: New file.
  3580. * testsuite/gas/i386/optimize-6a.d: Likewise.
  3581. * testsuite/gas/i386/optimize-6b.d: Likewise.
  3582. * testsuite/gas/i386/optimize-6c.d: Likewise.
  3583. * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
  3584. * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
  3585. * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
  3586. * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
  3587. * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
  3588. 2019-03-15 Li Hao <li.hao296@zte.com.cn>
  3589. PR 24308
  3590. * config/tc-i386.c (parse_insn): Check mnemp before using it to
  3591. determine if a suffix can be trimmed.
  3592. 2019-03-13 Christian Eggers <ceggers@gmx.de>
  3593. * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
  3594. 2019-03-13 Christian Eggers <ceggers@gmx.de>
  3595. * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
  3596. 2019-03-13 Christian Eggers <ceggers@gmx.de>
  3597. * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
  3598. 2019-03-13 Christian Eggers <ceggers@gmx.de>
  3599. * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
  3600. 2019-03-13 Christian Eggers <ceggers@gmx.de>
  3601. * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
  3602. (out_debug_aranges, out_debug_info): Likewise.
  3603. 2019-03-13 Christian Eggers <ceggers@gmx.de>
  3604. * symbols.h (symbol_temp_new_now_octets): Declare.
  3605. (symbol_set_value_now_octets, symbol_octets_p): Declare.
  3606. * symbols.c (struct symbol_flags): New member sy_octets.
  3607. (symbol_temp_new_now_octets): New function.
  3608. (resolve_symbol_value): Return octets instead of bytes if
  3609. sy_octets is set.
  3610. (symbol_set_value_now_octets): New function.
  3611. (symbol_octets_p): New function.
  3612. 2019-03-13 Christian Eggers <ceggers@gmx.de>
  3613. * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
  3614. 2019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
  3615. * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
  3616. * testsuite/gas/s390/zarch-arch13.d: Likewise.
  3617. 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
  3618. * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
  3619. * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
  3620. * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
  3621. * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
  3622. lines.
  3623. * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
  3624. * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
  3625. 2019-02-24 Alan Modra <amodra@gmail.com>
  3626. * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
  3627. 2019-02-24 Alan Modra <amodra@gmail.com>
  3628. PR 24144
  3629. * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
  3630. of section to ensure file contents cover aligned section size.
  3631. 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
  3632. * config/tc-arm.c (arm_cpus): Add neoverse-n1.
  3633. * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
  3634. 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
  3635. * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
  3636. * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
  3637. 2019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
  3638. * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
  3639. * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
  3640. 2019-02-19 Paul Hua <paul.hua.gm@gmail.com>
  3641. * NEWS: Mention -m[no-]fix-loongson3-llsc.
  3642. * configure.ac: Add --enable-mips-fix-loongson3-llsc.
  3643. Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
  3644. * config.in: Regenerated.
  3645. * configure: Likewise.
  3646. * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
  3647. New variables.
  3648. (options): New OPTION_FIX_LOONGSON3_LLSC,
  3649. OPTION_NO_FIX_LOONGSON3_LLSC.
  3650. (md_longopts): Add -m[no-]fix-loongson3-llsc.
  3651. (md_begin): Initialize sync insn.
  3652. (fix_loongson3_llsc): New.
  3653. (append_insn): Call fix_loongson3_llsc.
  3654. (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
  3655. OPTION_NO_FIX_LOONGSON3_LLSC.
  3656. (md_show_usage): Display -m[no-]fix-loongson3-llsc.
  3657. * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
  3658. --enable-mips-fix-loongson3-llsc=[yes|no].
  3659. 2019-02-10 H.J. Lu <hongjiu.lu@intel.com>
  3660. PR gas/24165
  3661. * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
  3662. max_bytes.
  3663. * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
  3664. aarch64_init_frag.
  3665. * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
  3666. arm_init_frag.
  3667. * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
  3668. * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
  3669. * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
  3670. * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
  3671. * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
  3672. * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
  3673. * config/tc-rx.h (TC_FRAG_INIT): Likewise.
  3674. * config/tc-score.h (TC_FRAG_INIT): Likewise.
  3675. * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
  3676. * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
  3677. * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
  3678. * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
  3679. (alignment ? ((1 << alignment) - 1) : 1)
  3680. (i386_tc_frag_data): Add max_bytes.
  3681. (TC_FRAG_INIT): Add and track max_bytes.
  3682. (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
  3683. fragP->tc_frag_data.max_bytes.
  3684. * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
  3685. 2019-02-08 Jim Wilson <jimw@sifive.com>
  3686. * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
  3687. (riscv_ip) <'C'>: Add 'z' support.
  3688. 2019-02-07 Tamar Christina <tamar.christina@arm.com>
  3689. * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
  3690. hlt to armv1.
  3691. * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
  3692. * testsuite/gas/arm/hlt.d: New test.
  3693. * testsuite/gas/arm/hlt.s: New test.
  3694. 2019-02-07 Tamar Christina <tamar.christina@arm.com>
  3695. * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
  3696. * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
  3697. 2019-02-07 Tamar Christina <tamar.christina@arm.com>
  3698. PR binutils/23212
  3699. * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
  3700. * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
  3701. 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
  3702. * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
  3703. 64-bit boundaries for the GR6.
  3704. * testsuite/gas/visium/allinsn_gr6.s: Tweak.
  3705. * testsuite/gas/visium/allinsn_gr6.d: Likewise.
  3706. * testsuite/gas/visium/bra-1.d: New test.
  3707. * testsuite/gas/visium/bra-1.s: Likewise.
  3708. * testsuite/gas/visium/visium.exp: Run bra-1 test.
  3709. 2019-01-31 John Darrington <john@darrington.wattle.id.au>
  3710. * config/tc-s12z.c (lex_imm): Add new argument exp_o.
  3711. (emit_reloc): New function.
  3712. (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
  3713. can be either 2 bytes or 3 bytes long.
  3714. * testsuite/gas/s12z/mov-imm-reloc.d: New file.
  3715. * testsuite/gas/s12z/mov-imm-reloc.s: New file.
  3716. * testsuite/gas/s12z/s12z.exp: Add them.
  3717. 2019-01-31 John Darrington <john@darrington.wattle.id.au>
  3718. * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
  3719. * testsuite/gas/s12z/pc-rel-bad.d: New file.
  3720. * testsuite/gas/s12z/pc-rel-bad.l: New file.
  3721. * testsuite/gas/s12z/pc-rel-bad.s: New file.
  3722. * testsuite/gas/s12z/pc-rel-good.d: New file.
  3723. * testsuite/gas/s12z/pc-rel-good.s: New file.
  3724. * testsuite/gas/s12z/s12z.exp: Add them.
  3725. 2019-01-31 John Darrington <john@darrington.wattle.id.au>
  3726. * config/tc-s12z.c (tfr): Emit warning if operands are the same.
  3727. * testsuite/gas/s12z/exg.d: New test case.
  3728. * testsuite/gas/s12z/exg.l: New file.
  3729. 2019-01-31 John Darrington <john@darrington.wattle.id.au>
  3730. * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
  3731. immediate mode operands should be permitted.
  3732. * testsuite/s12z/imm-dest.d: New file.
  3733. * testsuite/s12z/imm-dest.l: New file.
  3734. * testsuite/s12z/imm-dest.s: New file.
  3735. * testsuite/s12z/s12z.exp: Add them.
  3736. 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
  3737. * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
  3738. * doc/c-s390.texi: Document arch13 march option.
  3739. * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
  3740. * testsuite/gas/s390/zarch-arch13.d: New test.
  3741. * testsuite/gas/s390/zarch-arch13.s: New test.
  3742. * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
  3743. also for z13.
  3744. 2019-01-31 Alan Modra <amodra@gmail.com>
  3745. * config/tc-alpha.c (md_apply_fix): Correct range checks for
  3746. BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
  3747. * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
  3748. * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
  3749. 2019-01-28 Max Filippov <jcmvbkbc@gmail.com>
  3750. * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
  3751. symbols as done in md_apply_fix.
  3752. * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
  3753. 2019-01-28 Nick Clifton <nickc@redhat.com>
  3754. * po/fr.po: Updated French translation.
  3755. * po/ru.po: Updated Russian translation.
  3756. 2019-01-28 Alan Modra <amodra@gmail.com>
  3757. * configure.ac (ac_checking): Set from bfd/development.sh
  3758. development variable.
  3759. * configure: Regenerate.
  3760. 2019-01-25 Sudakshina Das <sudi.das@arm.com>
  3761. * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
  3762. stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
  3763. * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
  3764. stg, stzg, st2g and stz2g.
  3765. * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
  3766. * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
  3767. * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
  3768. 2019-01-25 Sudakshina Das <sudi.das@arm.com>
  3769. * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
  3770. * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
  3771. * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
  3772. * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
  3773. 2019-01-25 Sudakshina Das <sudi.das@arm.com>
  3774. Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
  3775. * config/tc-aarch64.c (parse_address_main): Remove support for
  3776. [base]! address expression.
  3777. (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
  3778. (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
  3779. * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
  3780. and stgv.
  3781. * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
  3782. * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
  3783. * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
  3784. 2019-01-25 Wu Heng <wu.heng@zte.com.cn>
  3785. PR gas/23940
  3786. * macro.c (getstring): Check array bound before accessing.
  3787. 2019-01-25 Alan Modra <amodra@gmail.com>
  3788. PR 20902
  3789. PR 24125
  3790. * read.c (stringer): Delete assertion.
  3791. 2019-01-21 Nick Clifton <nickc@redhat.com>
  3792. * po/uk.po: Updated Ukranian translation.
  3793. 2019-01-19 Nick Clifton <nickc@redhat.com>
  3794. * config.in: Regenerate.
  3795. * configure: Regenerate.
  3796. * po/gas.pot: Regenerate.
  3797. 2018-06-24 Nick Clifton <nickc@redhat.com>
  3798. 2.32 branch created.
  3799. 2019-01-17 Tamar Christina <tamar.christina@arm.com>
  3800. * testsuite/gas/arm/archv6t2-1-pe.d: New test.
  3801. * testsuite/gas/arm/archv6t2-1.d: Skip pe.
  3802. * testsuite/gas/arm/csdb.d: Skip pe.
  3803. * testsuite/gas/arm/sb-thumb1-pe.d: New test.
  3804. * testsuite/gas/arm/sb-thumb1.d: Skip pe.
  3805. * testsuite/gas/arm/sb-thumb2-pe.d: New test.
  3806. * testsuite/gas/arm/sb-thumb2.d: Skip pe.
  3807. * testsuite/gas/arm/udf.d: Skip pe.
  3808. 2019-01-16 Kito Cheng <kito@andestech.com>
  3809. * testsuite/gas/riscv/attribute-empty.d: New.
  3810. 2019-01-16 Kito Cheng <kito@andestech.com>
  3811. Nelson Chu <nelson@andestech.com>
  3812. * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
  3813. (riscv_set_options): Add `arch_attr` field.
  3814. (riscv_opts): Set default value for arch_attr.
  3815. (riscv_write_out_arch_attr): New.
  3816. (riscv_set_public_attributes): Likewise.
  3817. (riscv_md_end): Likewise.
  3818. (riscv_convert_symbolic_attribute): Likewise.
  3819. (s_riscv_attribute): Likewise.
  3820. (explicit_arch_attr): Likewise.
  3821. (riscv_pseudo_table): Add .attribute to the table.
  3822. (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
  3823. enumeration constants.
  3824. (md_longopts): Add `march-attr' and `mno-arch-attr' options.
  3825. (md_parse_option): Handle the new options.
  3826. (md_show_usage): Document the `march-attr' option.
  3827. * config/tc-riscv.h (md_end): Define as riscv_md_end
  3828. (riscv_md_end): Declare.
  3829. (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
  3830. riscv_convert_symbolic_attribute.
  3831. (riscv_convert_symbolic_attribute): Declare.
  3832. (start_assemble): Declare.
  3833. * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
  3834. * testsuite/gas/elf/section2.e-riscv: New.
  3835. * testsuite/gas/riscv/attribute-01.d: New test
  3836. * testsuite/gas/riscv/attribute-02.d: Likewise.
  3837. * testsuite/gas/riscv/attribute-03.d: Likewise.
  3838. * testsuite/gas/riscv/attribute-04.d: Likewise.
  3839. * testsuite/gas/riscv/attribute-04.s: Likewise.
  3840. * testsuite/gas/riscv/attribute-05.d: Likewise.
  3841. * testsuite/gas/riscv/attribute-05.s: Likewise.
  3842. * testsuite/gas/riscv/attribute-06.d: Likewise.
  3843. * testsuite/gas/riscv/attribute-06.s: Likewise.
  3844. * testsuite/gas/riscv/attribute-07.d: Likewise.
  3845. * testsuite/gas/riscv/attribute-07.s: Likewise.
  3846. * testsuite/gas/riscv/attribute-08.d: Likewise.
  3847. * testsuite/gas/riscv/attribute-08.s: Likewise.
  3848. * testsuite/gas/riscv/attribute-unknown.d: Likewise.
  3849. * testsuite/gas/riscv/attribute-unknown.s: Likewise.
  3850. * testsuite/gas/riscv/empty.l: Likewise.
  3851. * doc/c-riscv.texi (.attribute): Add documentation.
  3852. * configure.ac (--enable-default-riscv-attribute): New options.
  3853. * configure: Re-generate.
  3854. * config.in: Re-generate.
  3855. 2019-01-16 John Darrington <john@darrington.wattle.id.au>
  3856. * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
  3857. before the contents.
  3858. * testsuite/gas/s12z/labels.d: New file.
  3859. * testsuite/gas/s12z/labels.s: New file.
  3860. * testsuite/gas/s12z/s12z.exp: Add them.
  3861. * config/tc-s12z.c (tfr): Change as_bad to as_warn.
  3862. Also fix message typo and semantics.
  3863. * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
  3864. BFD_RELOC_24.
  3865. * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
  3866. of R_S12Z_EXT24.
  3867. 2019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
  3868. * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
  3869. (insns) [ARM_VARIANT]: Modified.
  3870. (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
  3871. in ARMv6T2 as well.
  3872. * testsuite/gas/arm/archv6t2-1.d: New test.
  3873. * testsuite/gas/arm/archv6t2-1.s: Likewise.
  3874. * testsuite/gas/arm/archv6t2-2.d: Likewise.
  3875. 2019-01-11 Alan Modra <amodra@gmail.com>
  3876. PR 23963
  3877. * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
  3878. * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
  3879. 2019-01-10 Nick Clifton <nickc@redhat.com>
  3880. PR 23963
  3881. * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
  3882. fact that control characters are now displayed as escape
  3883. sequences.
  3884. * testsuite/gas/mips/mips16-e.d: Likewise.
  3885. * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
  3886. * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
  3887. * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
  3888. * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
  3889. * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
  3890. * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
  3891. * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
  3892. * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
  3893. * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
  3894. * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
  3895. * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
  3896. * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
  3897. * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
  3898. * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
  3899. * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
  3900. Likewise.
  3901. * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
  3902. Likewise.
  3903. * testsuite/gas/mips/mipsel16-e.d: Likewise.
  3904. * testsuite/gas/mips/mipsr6@msa.d: Likewise.
  3905. * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
  3906. * testsuite/gas/mips/r6-64-n32.d: Likewise.
  3907. * testsuite/gas/mips/r6-64-n64.d: Likewise.
  3908. * testsuite/gas/mips/r6-n32.d: Likewise.
  3909. * testsuite/gas/mips/r6-n64.d: Likewise.
  3910. * testsuite/gas/mips/r6.d: Likewise.
  3911. * testsuite/gas/mips/tmips16-e.d: Likewise.
  3912. * testsuite/gas/mips/tmipsel16-e.d: Likewise.
  3913. * testsuite/gas/mn10300/relax.d: Likewise.
  3914. 2019-01-09 John Darrington <john@darrington.wattle.id.au>
  3915. * testsuite/gas/s12z/jsr.s: New case.
  3916. * testsuite/gas/s12z/jsr.d: New case.
  3917. 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
  3918. * configure: Regenerate.
  3919. 2019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
  3920. * config/tc-aarch64.c (aarch64_cpus): Add ares.
  3921. * doc/c-aarch64.texi (-mcpu): Document ares value.
  3922. 2019-01-08 Alan Modra <amodra@gmail.com>
  3923. * testsuite/gas/rx/rx.exp: Create generated test source in
  3924. current directory.
  3925. * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
  3926. * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
  3927. * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
  3928. * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
  3929. * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
  3930. * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
  3931. * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
  3932. * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
  3933. * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
  3934. * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
  3935. * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
  3936. * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
  3937. * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
  3938. * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
  3939. * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
  3940. * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
  3941. * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
  3942. * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
  3943. * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
  3944. * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
  3945. * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
  3946. * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
  3947. * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
  3948. * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
  3949. * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
  3950. * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
  3951. * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
  3952. * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
  3953. * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
  3954. * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
  3955. * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
  3956. * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
  3957. * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
  3958. * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
  3959. * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
  3960. * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
  3961. * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
  3962. * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
  3963. * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
  3964. * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
  3965. * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
  3966. * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
  3967. * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
  3968. * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
  3969. * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
  3970. * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
  3971. * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
  3972. * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
  3973. * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
  3974. * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
  3975. * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
  3976. * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
  3977. * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
  3978. * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
  3979. * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
  3980. * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
  3981. * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
  3982. * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
  3983. * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
  3984. * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
  3985. * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
  3986. * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
  3987. * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
  3988. * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
  3989. * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
  3990. * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
  3991. * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
  3992. * testsuite/gas/rx/xor.d: Add #source line.
  3993. 2019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
  3994. * config/tc-arm.c (arm_cpus): Add ares.
  3995. * doc/c-arm.texi (-mcpu): Document ares value.
  3996. 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
  3997. * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
  3998. (rx_bfield): Add prototype.
  3999. (rx_post): Likewise.
  4000. * config/rx-parse.y: Add v3 instructions and Double FPU registers.
  4001. (DSIZE): Define.
  4002. (POST): Define.
  4003. (rx_check_v3): New. check v3 type.
  4004. (rx_check_dfpu): New. check have double support.
  4005. (double_condition_table): New. dcmp<cond> contiditon.
  4006. (check_condition): Multiple condition support.
  4007. (rx_lex): RXv3 instructions support.
  4008. Add parse dcmp<cond> instruction and Double FPU registers.
  4009. (immediate): Disable optimize in dmov #imm case.
  4010. (displacement): Add double displacement in dmov instraction.
  4011. * config/tc-rx.c (rx_use_conventional_section_names):
  4012. Invert default value in rx-*-linux target.
  4013. (cpu_type): Add additional ELF flags.
  4014. (cpu_type_list): Add RXv3.
  4015. (md_parse_option): Refer elf_flags from cpu_type_list.
  4016. (md_show_usage): Add rxv3 and rxv3-dfpu.
  4017. (rx_bytesT): Add post byte.
  4018. (rx_bfield): New. generate bfmov / bfmovz "imm" field.
  4019. (rx_post): New. Set instruction post byte.
  4020. (md_assemble): Add post byte.
  4021. doc/c-rx.texi: Add cpu types.
  4022. * testsuite/gas/rx/Xtod.d: New.
  4023. * testsuite/gas/rx/Xtod.sm: New.
  4024. * testsuite/gas/rx/bfmov.d: New.
  4025. * testsuite/gas/rx/bfmov.sm: New.
  4026. * testsuite/gas/rx/dabs.d: New.
  4027. * testsuite/gas/rx/dabs.sm: New.
  4028. * testsuite/gas/rx/dadd.d: New.
  4029. * testsuite/gas/rx/dadd.sm: New.
  4030. * testsuite/gas/rx/dcmp.d: New.
  4031. * testsuite/gas/rx/dcmp.sm: New.
  4032. * testsuite/gas/rx/ddiv.d: New.
  4033. * testsuite/gas/rx/ddiv.sm: New.
  4034. * testsuite/gas/rx/dmov.d: New.
  4035. * testsuite/gas/rx/dmov.sm: New.
  4036. * testsuite/gas/rx/dmul.d: New.
  4037. * testsuite/gas/rx/dmul.sm: New.
  4038. * testsuite/gas/rx/dneg.d: New.
  4039. * testsuite/gas/rx/dneg.sm: New.
  4040. * testsuite/gas/rx/dpopm.d: New.
  4041. * testsuite/gas/rx/dpopm.sm: New.
  4042. * testsuite/gas/rx/dpushm.d: New.
  4043. * testsuite/gas/rx/dpushm.sm: New.
  4044. * testsuite/gas/rx/dround.d: New.
  4045. * testsuite/gas/rx/dround.sm: New.
  4046. * testsuite/gas/rx/dsqrt.d: New.
  4047. * testsuite/gas/rx/dsqrt.sm: New.
  4048. * testsuite/gas/rx/dsub.d: New.
  4049. * testsuite/gas/rx/dsub.sm: New.
  4050. * testsuite/gas/rx/dtoX.d: New.
  4051. * testsuite/gas/rx/dtoX.sm: New.
  4052. * testsuite/gas/rx/macros.inc: Add double FPU registers.
  4053. * testsuite/gas/rx/mvfdc.d: New.
  4054. * testsuite/gas/rx/mvfdc.sm: New.
  4055. * testsuite/gas/rx/mvfdr.d: New.
  4056. * testsuite/gas/rx/mvfdr.sm: New.
  4057. * testsuite/gas/rx/mvtdc.d: New.
  4058. * testsuite/gas/rx/mvtdc.sm: New.
  4059. * testsuite/gas/rx/rstr.d: New.
  4060. * testsuite/gas/rx/rstr.sm: New.
  4061. * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
  4062. * testsuite/gas/rx/save.d: New.
  4063. * testsuite/gas/rx/save.sm: New.
  4064. * testsuite/gas/rx/xor.d: New.
  4065. * testsuite/gas/rx/xor.sm: Add pattern.
  4066. 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
  4067. PR 24010
  4068. * macro.c (get_any_string): Check for end of input whilst scanning
  4069. for separators.
  4070. 2019-01-04 Wu Heng <wu.heng@zte.com.cn>
  4071. PR 24009
  4072. * read.c (stringer): Fix handling of missing '>' character at end
  4073. of <...> sequence.
  4074. 2019-01-01 Alan Modra <amodra@gmail.com>
  4075. Update year range in copyright notice of all files.
  4076. For older changes see ChangeLog-2018
  4077. Copyright (C) 2019 Free Software Foundation, Inc.
  4078. Copying and distribution of this file, with or without modification,
  4079. are permitted in any medium without royalty provided the copyright
  4080. notice and this notice are preserved.
  4081. Local Variables:
  4082. mode: change-log
  4083. left-margin: 8
  4084. fill-column: 74
  4085. version-control: never
  4086. End: